gusman / l5-crud-generator
此包最新版本(v1.1)没有提供许可证信息。
包含TDD的Laravel 5生成器。
v1.1
2017-11-17 07:04 UTC
Requires
- php: >=5.4.0
- illuminate/support: ~5.0
This package is not auto-updated.
Last update: 2024-09-29 04:20:19 UTC
README
用法
步骤 1:使用composer安装
composer require gusman/l5-crud-generator --dev
步骤 2:添加服务提供者
打开并编辑文件 app/Providers/AppServiceProvider.php
public function register()
{
if ($this->app->environment() == 'local') {
$this->app->register('Gusman\L5Generator\L5GeneratorServiceProvider');
}
}
步骤 3:运行artisan命令
php artisan make:crud {model name}
示例
php artisan make:crud Sample