asif / crud_artisan
This package is for generating crud related files with one artisan command like controllers,models,views,migrations and requests for formvalidation
This package is auto-updated.
Last update: 2025-03-07 22:33:51 UTC
README
crud_artisan is a laravel artisan package that helps the developer to generate necessary files for crud. It generates
Controller
Model
Migration
Request
Views
How to install crud_artisan package
Itss too simple. Just run the following command in command promt
composer require asif/crud_artisan
Usage of the package
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