LaravelPackages.net
Acme Inc.
Toggle sidebar
xf/xfscaffold

Extend Laravel 5.5 generators scaffold.

958
0
About xf/xfscaffold

xf/xfscaffold is a Laravel package for extend laravel 5.5 generators scaffold.. It currently has 0 GitHub stars and 958 downloads on Packagist. Install it with composer require xf/xfscaffold. Discover more Laravel packages by xf or browse all Laravel packages to compare alternatives.

Last updated

Laravel 5.x Scaffold Generator

Usage

Step 1: Install Through Composer

composer require xf/xfscaffold:dev-master --dev
add:
"required": {
    ...
    ...
    "webpatser/laravel-uuid": "^2.0"
}

Step 2: Add the Service Provider

Open config/app.php and, to your providers array at the bottom, add:

xf\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 Test in your project:

php artisan make:scaffold Test

This command will generate:

app/Models/Test.php
app/Http/Controllers/Api/TestController.php
app/Http/Request/TestStore.php
app/Repositories/Test.php
app/Services/Test.php

##Collaborators Luis Oscátegui

Comments