A Simple Laravel 5 Library that allows you to create crud operation with a single command
Laravel CRUD Generator
A simple Laravel 5 library that allows you to create crud operations with a single command
composer require salmanzafar/laravel-crud-generator
- Controller (with all the code already written)
Enable the package (Optional)
This package implements Laravel auto-discovery feature. After you install it the package provider and facade are added automatically for laravel >= 5.5.
Publish the configuration file
This step is required
php artisan vendor:publish --provider="Salman\CrudGenerator\CrudGeneratorServiceProvider"
After publsihing the configuration file just run the below command
php artisan crud:generate ModelName
just it all of your
Model Controller, Migration, routes and
Request will be created automatically with all the code required for operations