asif/crud_artisan

This package is for generating crud related files with one artisan command like controllers,models,views,migrations and requests for formvalidation

1.0.1 2017-12-17 13:53 UTC

This package is auto-updated.

Last update: 2024-10-07 21:28:19 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