Skip to content

Instantly share code, notes, and snippets.

@maartenpaauw
Last active August 29, 2015 14:16
Show Gist options
  • Save maartenpaauw/b435c422fb3e45c9c132 to your computer and use it in GitHub Desktop.
Save maartenpaauw/b435c422fb3e45c9c132 to your computer and use it in GitHub Desktop.
Get workbench back in Laravel 5.
'Illuminate\Workbench\WorkbenchServiceProvider'
<?php
/*
|--------------------------------------------------------------------------
| 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'))
{
Illuminate\Workbench\Starter::start($workbench);
}
"illuminate/workbench": "dev-master"
<?php
return [
/*
|--------------------------------------------------------------------------
| Workbench Author Name
|--------------------------------------------------------------------------
|
| When you create new packages via the Artisan "workbench" command your
| name is needed to generate the composer.json file for your package.
| You may specify it now so it is used for all of your workbenches.
|
*/
'name' => '',
/*
|--------------------------------------------------------------------------
| Workbench Author E-Mail Address
|--------------------------------------------------------------------------
|
| Like the option above, your e-mail address is used when generating new
| workbench packages. The e-mail is placed in your composer.json file
| automatically after the package is created by the workbench tool.
|
*/
'email' => '',
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment