Creates CRUD in MVC pattern for Laravel 5
#Installation Using composer:
composer require "shalkam/crud-generator":"dev-master"
Add Service providers to config/app.php
'providers' => [
// ....
'Shalkam\CrudGenerator\CrudGeneratorServiceProvider',
//For the form-builder package
'Kris\LaravelFormBuilder\FormBuilderServiceProvider',
//For column sortable package
'Kyslik\ColumnSortable\ColumnSortableServiceProvider',
//For Menu package
'Menu\MenuServiceProvider',
]
Add Facades to config/app.php
'aliases' => [
//...
'FormBuilder' => 'Kris\LaravelFormBuilder\Facades\FormBuilder',
]
Then run this command
php artisan vendor:publish
#Basic Usage Simply Use this artisan command
php artisan make:crud ModelName
You can replace "ModelName" with a singular model name in CamelCase
Then all you've got to do is to fill in the fields in this format fieldId:fieldType Field Type corresponds to field types in table schema used in a migration file.