mehradsadeghi/laravel-crud-generator
最新稳定版本:v0.5.7
Composer 安装命令:
composer require mehradsadeghi/laravel-crud-generator
包简介
Generate CRUD for your laravel application like a breeze
README 文档
README
Generate a CRUD scaffold like a breeze.
Compatible with Laravel 5.x 6.x 7.x 8.x 9.x 10.x 11.x.
Installation
$ composer require mehradsadeghi/laravel-crud-generator
Usage
It works based on your $fillable property of the target model.
If you would like to use $guarded instead of $fillable, It is supported too.
In that case you'll need to have an existing Schema (table), Then the crud generator will automatically figures out your fillables.
As an example when $fillable is available:
$ php artisan make:crud UserController --model=User --validation
Customizing Stubs
You can modify default stubs by publishing them:
$ php artisan crud:publish
The published stubs will be located within stubs/crud directory in the root of your application.
Any changes you make to these stubs will be reflected when you generate crud.
Your Stars Matter
If you find this package useful and you want to encourage me to maintain and work on it, Just press the star button to declare your willing.
Reward me with a cup of tea 🍵
Send me as much as a cup of tea worth in your country, so I'll have the energy to maintain this package.
- Ethereum: 0x2D5BFdEc132F9F0E9498Fb0B58C800db4007D154
统计信息
- 总下载量: 11.95k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 170
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-08
