2017 © Pedro Peláez
 

library admin-generator

image

sudobat/admin-generator

  • Friday, January 23, 2015
  • by sudobat
  • Repository
  • 1 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel Admin Generator

This Laravel package provides a simple and fast way to generate an admin skeleton., (*1)

Installation

Edit your composer.json to add this package, (*2)

"require-dev": {
    "sudobat/admin-generator": "dev-master"
}

Then update Composer from the Terminal, run the following command on the root of your project:, (*3)

composer update --dev

When composer is done, add this provider to your providers list in app/config/app.php, (*4)

'Sudobat\AdminGenerator\AdminGeneratorServiceProvider'

If all the above went ok, you should see a new command admin:make when you run, (*5)

php artisan

Usage

php artisan admin:make --resources="..." [--base[="..."]] [--prefix[="..."]] [--namespace[="..."]]

Here is an explanation of the options one by one, (*6)

--resources

This is a list of the resources you want to create separated by commas, (*7)

--base

This is the path where the folder structure will be created ("app" by default), (*8)

--prefix

This is a sub-folder that will be created inside "controllers, models, views" directories ("admin" by default), (*9)

--namespace

This is the namespace under which all the controllers and models will be created ("" by default), (*10)

The Versions

23/01 2015

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

by Adrià Batlle Cuito