Laravel Tablar Admin Dashboard https://github.com/takielias/tablar
Inspired by ibex/crud-generator
- Will create Model with Eloquent relations
- Will create Controller with all resources
- Will create views in Bootstrap 5.*
We have replaced the laravelcollective/html package with konekt/html. This update ensures compatibility with PHP 8.1+ and Laravel 10 & 11, while preserving the same functionality as the original package.
Laravel >= 9.*
PHP >= 8.1
1 - Install
composer require takielias/tablar-crud-generator --dev
2- Publish the default package's config
php artisan vendor:publish --tag=crud
php artisan make:crud {table_name}
php artisan make:crud products
Add a route in web.php
Route::resource('products', 'ProductController');
Route name in plural slug case.
- Custom Route
php artisan make:crud {table_name} --route={route_name}
- Custom Crud name: the name of the scaffold.
php artisan make:crud {table_name} --crud-name={crud_name}
# For example:
# php artisan make:crud emergencies —-crud-name=Emergencies
- Custom language: specify the language that should be used by the inflector (french, norwegian-bokmal, portuguese, spanish or turkish)
php artisan make:crud {table_name} --lang={lang}
# For example:
# php artisan make:crud incidencies --lang=spanish
Taki Elias - @takiele - https://ebuz.xyz - [email protected]