2017 © Pedro Peláez
 

library l5scaffold

Extend Laravel 5's generators scaffold using AdminLTE2. Fork from Fernando Brito

image

marasco/l5scaffold

Extend Laravel 5's generators scaffold using AdminLTE2. Fork from Fernando Brito

  • Saturday, December 24, 2016
  • by marasco
  • Repository
  • 2 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 125 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Laravel 5.2 Scaffold Generator

Hi, this is a scaffold generator for Laravel 5.2. (Laravel scaffold for Laravel 5.1? change branch to laravel-5.1 ), (*1)

This is a fork from Fernando Brito (laralib/l5scaffold), (*2)

Usage

Step 1: Install Through Composer

composer require 'marasco/l5scaffold' --dev

Step 2: Add the Service Provider

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

"Laralib\L5scaffold\GeneratorsServiceProvider"

Step 3: Run Artisan!

You're all set. Run php artisan from the console, and you'll see the new commands make:scaffold., (*4)

Examples

php artisan make:scaffold Tweet --schema="title:string:default('Tweet #1'), body:text"

This command will generate:, (*5)

app/Tweet.php
app/Http/Controllers/TweetController.php
database/migrations/2015_04_23_234422_create_tweets_table.php
database/seeds/TweetTableSeeder.php
resources/views/layout.blade.php
resources/views/tweets/index.blade.php
resources/views/tweets/show.blade.php
resources/views/tweets/edit.blade.php
resources/views/tweets/create.blade.php

And don't forget to run:, (*6)

php artisan migrate

Other Examples (new)

Same as above with use of the prefix. It will create the prefix in redirects of controller and the links of views (v1.0.7):, (*7)

php artisan make:scaffold Tweet --schema="title:string:default('Tweet #1'), body:text" --prefix="admin"

Create the empty scaffold views, controller, seed, migration and model (v1.0.6):, (*8)

php artisan make:scaffold Tweet

Create the empty scaffold (with prefix) views, controller, seed, migration and model (v1.0.7):, (*9)

php artisan make:scaffold Tweet --prefix="admin"

Scaffold

image image image, (*10)

Data type Date (on view)

image, (*11)

Data type Boolean (on view)

image, (*12)

Todo task list

1 - Validations, (*13)

2 - Support a Localization, (*14)

3 - More fields type, (*15)

4 - Default tests file, (*16)

5 - sass and js with gulp, (*17)

Send us your ideas. (send message to @fernandobritofl (Twitter)), (*18)

br/br/, (*19)

Collaborators

Fernando Brito br/Francisco Marasco br/Sylvio Tavares br/Raphael Heitor br/Alfred Nutile br/Sazzad Hossain Khan br/Alexander Makhaev br/Adam Brown br/TJ Webb br/Tsaganos Tolis, (*20)

The Versions

24/12 2016

dev-master

9999999-dev

Extend Laravel 5's generators scaffold using AdminLTE2. Fork from Fernando Brito

  Sources   Download

MIT

The Requires

 

by Francisco Marasco

laravel generators scaffold laravel5

29/08 2016

dev-develop

dev-develop

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Fernando Brito

laravel generators scaffold laravel5

05/07 2016

1.0.10

1.0.10.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

28/06 2016

1.0.9

1.0.9.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

28/06 2016

1.0.8

1.0.8.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

25/06 2016

1.0.7

1.0.7.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

23/06 2016

dev-laravel-5.1

dev-laravel-5.1

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

23/06 2016

1.0.6

1.0.6.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

22/04 2016

1.0.5

1.0.5.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

03/10 2015

1.0.4

1.0.4.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

02/10 2015

1.0.3

1.0.3.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

29/04 2015

1.0.2

1.0.2.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

24/04 2015

1.0.1

1.0.1.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5

23/04 2015

1.0

1.0.0.0

Extend Laravel 5's generators scaffold.

  Sources   Download

MIT

The Requires

 

by Fernando Brito

laravel generators scaffold laravel5