asif/crud_artisan
Composer 安装命令:
composer require asif/crud_artisan
包简介
This package is for generating crud related files with one artisan command like controllers,models,views,migrations and requests for formvalidation
README 文档
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
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-17