This package is for generating crud related files with one artisan command like controllers,models,views,migrations and requests for formvalidation
crud_artisan is a laravel artisan package that helps the developer to generate necessary files for crud. It generates, (*1)
Itss too simple. Just run the following command in command promt
composer require asif/crud_artisan
, (*2)
after installing the package just run the following command to generate crud related files
go to your config/app.php file and in service provider array add the following line
Asif\Crud_artisan\CrudArtisanServiceProvider::class
Next, in command promt run the following command:
php artisan crudfiles:generate (press enter)
in the next line input your crud name for example product and it will generate controller,model,views,migration and request for the product crud, (*3)