Laravel Crud Generator. This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in **Bootstrap** or **React** and by **DDD** architecture, if you want, for your development of your applications with single command.
jmsr/crud-generator-laravel is a Laravel package for laravel crud generator. this laravel generator package provides and generate controller, model (with eloquent relations) and views in **bootstrap** or **react** and by **ddd** architecture, if you want, for your development of your applications with single command..
It currently has 1 GitHub stars and 28 downloads on Packagist.
Install it with composer require jmsr/crud-generator-laravel.
Discover more Laravel packages by jmsr
or browse all Laravel packages to compare alternatives.
Last updated

This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in Bootstrap or React and by DDD architecture, if you want, for your development of your applications with single command.
Bootstrap or React, yo can choose it in config fileAppProvider fileLaravel >= 8.0
PHP >= 8.1
composer require jmsr/crud-generator-laravel --dev
php artisan vendor:publish --tag=crud
Add ITEMS_PER_PAGE = 10 to your .env file
Use these commands
php artisan make:crud {table_name}
php artisan make:crud banks
Add a route in web.php
Route::resource('banks', 'BankController');
*Route name in plural slug case.
Copy BaseEntity.stub file from vendor/jmsr/src/stubs to your src directory and rename it to BaseEntity.php
In this case you don't need to change anything y confi file.
Custom Route
php artisan make:crud {table_name} --route={route_name}
You need to change config file architecture_mode to ddd and front to react
Do everything under context
php artisan make:crud {table_name} --path={context_name}