ocraton/fillthem
最新稳定版本:1.3.0
Composer 安装命令:
composer require ocraton/fillthem
包简介
One command for create model, migration and seeder with fillable
README 文档
README
ocraton/fillthem is a Laravel package that provide an artisan command to define a model name with fillable fields. Based on that model name, it will create a migration and seeder with those fields.
Installation
Run the following command to install the latest applicable version of the package:
composer require --dev ocraton/fillthem
Laravel
In your app config, add the Service Provider to the $providers:
'providers' => [ ... Ocraton\Fillthem\Providers\FillthemServiceProvider::class, ],
Usage
Run the following command to create a Car model, migration and seeder with Laravel migration types column:
php artisan make:fillthem Car --fillable=integer:n_wheels,string:model
That's it!
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-27