2017 © Pedro Peláez
 

laravel-scaffold scaffold

Laravel 5 scaffold with bootstrap 3 template

image

amcysoft/scaffold

Laravel 5 scaffold with bootstrap 3 template

  • Saturday, June 18, 2016
  • by raheel
  • Repository
  • 1 Watchers
  • 1 Stars
  • 68 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Laravel 5.2 Simple Scaffold Generator

Hi, this is a scaffold generator for Laravel 5.2 with bootstrap 3 template., (*1)

Usage

Step 1: Install Through Composer

composer require 'amcysoft/scaffold' "@dev"

Step 2: Add the Service Provider

Open config/app.php and the following to your providers array, add:, (*2)

Amcysoft\Scaffold\ScaffoldServiceProvider::class,

Step 3: Run Artisan!

You're now able to run artisan command. Run php artisan from the console, and you'll see the new commands make:scaffold. But before doing this, run the following command to make the setup., (*3)

php artisan make:auth

Examples

php artisan make:scaffold Article title:string description:text

This command will generate:, (*4)

database/migrations/2016_06_18_171537_create_articles_table.php
app/Http/Controllers/ArticlesController.php
app/Article.php
resources/views/articles/create.blade.php
resources/views/articles/edit.blade.php
resources/views/articles/form.blade.php
resources/views/articles/index.blade.php
resources/views/articles/show.blade.php
database/seeds/ArticlesTableSeeder.php

This scaffolding will automatically add route to routes.php file, run the migration, and seeds the data., (*5)

Rollback Scaffold

You can also rollback your scaffolding by the following command., (*6)

php artisan remove:scaffold Article

This will reverse all the process generated by scaffold:make command., (*7)

The Versions

18/06 2016

dev-master

9999999-dev https://github.com/amcysoft/scaffold

Laravel 5 scaffold with bootstrap 3 template

  Sources   Download

The Requires

 

generators scaffold laravel 5 amcysoft