Package Data | |
---|---|
Maintainer Username: | ycamposde |
Maintainer Contact: | ycamposde@gmail.com (Yerson Campos) |
Package Create Date: | 2020-05-23 |
Package Last Update: | 2022-12-07 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-16 15:00:06 |
Package Statistics | |
---|---|
Total Downloads: | 15 |
Monthly Downloads: | 7 |
Daily Downloads: | 1 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 21 |
composer require ycamposde/xfscaffold --dev
"required": {
...
...
"webpatser/laravel-uuid": "^3.0",
"urameshibr/lumen-form-request": "^1.5"
}
Open config/app.php
and, to your providers array at the bottom, add:
$app->register(ycamposde\xfscaffold\GeneratorsServiceProvider::class);
You're all set. Run php artisan
from the console, and you'll see the new commands make:scaffold
.
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