Laravel crud is a simple package to create CRUD operations creating table migrations.
This is for Laravel 5.2
-
Get the package using composer
composer require deangite/laravel-crud
-
Add the service provider to /config/app.php.
'providers' => [ ... Deangite\LaravelCrud\LaracrudServiceProvider::class, ],
- To create migrations, models, controllers and routes, run
php artisan laravel:crud
- After creating migration files you can simply run
php artisan migrate
- It will create routes based on table name.