darshan-belani/laravel-crud-generator
Generate full Laravel CRUD modules from one command: migrations, models with relationships, resource/API controllers, Livewire components, and Bootstrap/Tailwind views. Can auto-install Breeze or Laravel UI on fresh apps. Supports Laravel 10+, PHP 8.1+.

This Laravel CRUD Generator package streamlines development by generating Migration, Controllers, Models (with Eloquent relationships), and Views using a single command. It supports multiple frontend stacks, including Bootstrap, Tailwind CSS, and Livewire (Livewire views use Tailwind CSS). You can also choose an API-only stack for backend-focused applications.
This is the best crud generator for a blank Laravel project installation too. This will auto install the starter kit laravel/breeze or laravel/ui (for bootstrap 5) for blank Laravel installation.
Laravel >= 10.x
PHP >= 8.1
1 - Install
composer require darshan-belani/laravel-crud-generator
2- Publish the default package's config (optional)
php artisan vendor:publish --tag=crud
When creating a blog module, please ensure that the table name is set as either blogs or posts.
php artisan make:module {table_name}
php artisan make:module posts





web.phpRoute::resource('blogs', BlogController::class);
Livewire created routes belowRoute::get('/posts', \App\Livewire\Posts\Index::class)->name('posts.index');
Route::get('/posts/create', \App\Livewire\Posts\Create::class)->name('posts.create');
Route::get('/posts/show/{bank}', \App\Livewire\Posts\Show::class)->name('posts.show');
Route::get('/posts/update/{bank}', \App\Livewire\Posts\Edit::class)->name('posts.edit');
api created routes belowRoute::apiResource('blogs', BlogController::class);
php artisan make:module {table_name} {bootstrap,tailwind,livewire,api}
php artisan make:module blogs bootstrap //This will create views in Bootstrap 5 using Blade
php artisan make:module blogs tailwind //This will create views in Tailwind css using Blade
php artisan make:module blogs livewire //This will create views in Tailwind css with Livewire components
php artisan make:module blogs api //This will create API only controllers
php artisan make:module {table_name} --route={route_name}








You have the possibility of 100% customizing the generated views, this is achieved in the following way:
php artisan vendor:publish --tag=crud this will create the crud.php file in your config/ folder.stub_path, to your own stub folder like 'stub_path' => resource_path('stubs/'),php artisan vendor:publish --tag=stubs-crud
Darshan Belani // Email Me
How can I help you explore Laravel packages today?