This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in Bootstrap for your development of your applications with single command.
This packege based on - (https://github.com/awais-vteams/laravel-crud-generator)
What Is New
-
Relationship with select in form and auto Relationship data pass in view
-
Select dropDown in form
-
Search Filter added
-
$serchable Property in Model
-
Bootstrap new Design col-md-6
-
New Feature Auto Route
-
Will create Model with Eloquent relations
-
Will create Controller with all resources
-
Will create views in Bootstrap
Laravel >= 9.0
PHP >= 8.1
Bootstrap >= 5.0.0
composer create-project laravel/laravel project-name
cd project-name
composer require laravel/ui
php artisan ui bootstrap --auth
npm install
npm run build
1 - Install
composer require coolhax/bootstrap-laravel-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 banks
Add a route in web.php
- Now auto Route Feature Not Needed
Route::resource('banks', App\Http\Controlles\BankController:class);
Route name in plural slug case.
- Custom Route
php artisan make:crud {table_name} --route={route_name}
Rohit Kumar // Email Me