ycamposde/xfscaffold
Composer 安装命令:
composer require ycamposde/xfscaffold
包简介
Extend Laravel Lumen 5.7 generators scaffold.
README 文档
README
Usage
Step 1: Install Through Composer
composer require ycamposde/xfscaffold --dev
add:
"required": {
...
...
"webpatser/laravel-uuid": "^3.0",
"urameshibr/lumen-form-request": "^1.5"
}
Step 2: Add the Service Provider
Open config/app.php and, to your providers array at the bottom, add:
$app->register(ycamposde\xfscaffold\GeneratorsServiceProvider::class);
Step 3: Run Artisan!
You're all set. Run php artisan from the console, and you'll see the new commands make:scaffold.
Examples
Use this command to generator scaffolding of Example in your project:
php artisan make:scaffold Example
This command will generate:
app/Models/Example.php
app/Http/Controllers/Api/ExampleController.php
app/Http/Request/ExampleStore.php
app/Repositories/Example.php
app/Services/Example.php
##Collaborators Yerson Campos
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-23