ycamposde / xfscaffold
Extend Laravel Lumen 5.7 generators scaffold.
1.0.0
2020-05-23 15:57 UTC
Requires
- php: >=7.0.0
Requires (Dev)
- filp/whoops: ~2.0
- fzaninotto/faker: ~1.4
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~6.0
- dev-master
- 1.0.0
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-6.4.1
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/marked-0.3.19
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/tar-2.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/axios-0.21.1
- dev-dependabot/npm_and_yarn/ini-1.3.8
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/npm_and_yarn/node-sass-4.14.1
- dev-dependabot/npm_and_yarn/elliptic-6.5.3
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-dependabot/npm_and_yarn/lodash.mergewith-4.6.2
- dev-dependabot/npm_and_yarn/macaddress-0.2.9
- dev-dependabot/npm_and_yarn/stringstream-0.0.6
- dev-dependabot/npm_and_yarn/jquery-3.5.0
This package is auto-updated.
Last update: 2024-11-08 01:32:22 UTC
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