Download the PHP package janareit/l5scaffold without Composer
On this page you can find all versions of the php package janareit/l5scaffold. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download janareit/l5scaffold
More information about janareit/l5scaffold
Files in janareit/l5scaffold
Package l5scaffold
Short Description Extend Laravel 5's generators scaffold.
License MIT
Informations about the package l5scaffold
Laravel 5 Scaffold Generator
This is a scaffold generator for Laravel 5.0.x.
This generator has less advanced features than my other forked generators set at https://github.com/janareit/laravel5generators. Check out both of them to see whic one better suits your project needs.
Usage
Step 1: Install Through Composer
Step 2: Add the Service Provider
This package scaffolds views using laracasts/flash
package, so you need add also this to providers.
Open config/app.php
and, to your providers array at the bottom, add:
Add a facade alias to the same file at the bottom:
Step 3: Run Artisan Command
Step 4: Edit scaffolding config
Open config/scaffold.php
and edit it according to your needs and wishes
Step 5: Run Artisan!
You're all set. Run php artisan
from the console, and you'll see the new commands make:scaffold
.
Command example
(--prefix option is OPTIONAL. Running command without it will simply skip prefix in folders)
This command will generate:
And don't forget to run:
Step 6: Add route
Open routes.php
and add route that you generated.
For example:
Step 7: Add Route-Model binding
Add Route-Model binding and "use" clause to RouteServiceProvider.php
For example:
Scaffold
Thanks for all previous contributors but since fixing bugs and adding features according to my own need was very slow I forked this repo. Mainly for my own project needs:)
Love and greetings to all Laravel 5 fellows ot there:)