2017 © Pedro Peláez
 

library workbench

Laravel 5 Workbench.

image

xiaolu/workbench

Laravel 5 Workbench.

  • Monday, October 12, 2015
  • by shijunti19
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel 5 Workbench

Installation

You can install the package via composer command line by runnign this following command., (*1)

composer require pingpong/workbench

After the package installed, add Pingpong\Workbench\WorkbenchServiceProvider to your providers array in config/app.php file., (*2)

And the last, publish the package's configuration by running:, (*3)

php artisan vendor:publish

Autoloading Workbench

You can autoload the workbench by adding this following command to your bootstrap/autoload.php file. Put this following command at the very bottom of script., (*4)

/*
|--------------------------------------------------------------------------
| Register The Workbench Loaders
|--------------------------------------------------------------------------
|
| The Laravel workbench provides a convenient place to develop packages
| when working locally. However we will need to load in the Composer
| auto-load files for the packages so that these can be used here.
|
*/
if (is_dir($workbench = __DIR__.'/../workbench'))
{
    Pingpong\Workbench\Starter::start($workbench);
}

Creating A Package

Before you create a package, you need to update name and email config value in your config/workbench.php file., (*5)

Creating a basic package., (*6)

php artisan workbench vendor/package

Creating a package with generating some scaffold resources., (*7)

php artisan workbench vendor/package --resources

Other Documentation

For more documentation you can visit the official laravel documentation, (*8)

The Versions

12/10 2015

dev-master

9999999-dev

Laravel 5 Workbench.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Xiaolu Labs