ycamposde/xfscaffold

Extend Laravel Lumen 5.7 generators scaffold.
25
Install
composer require ycamposde/xfscaffold
Latest Version:1.0.0
PHP:>=7.0.0
License:MIT
Last Updated:Dec 7, 2022
Links: GitHub  ·  Packagist
Maintainer: ycamposde

Laravel Lumen 5.x Scaffold Generator

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

Related Packages

laraviet/l5scaffold

Extend Laravel 5's generators scaffold.

476 7
binondord/laravel-scaffold

Extend Laravel 5's generators scaffold. Base on jrenton/laravel-scaffold and lar...

166 3
laralib/l5scaffold

Extend Laravel 5's generators scaffold.

74,370 314
janareit/l5scaffold

Extend Laravel 5's generators scaffold.

131 3
alnutile/l5scaffold

Extend Laravel 5's generators scaffold. Thanks to the base of this laralib by fe...

76 18