iwanli/workbench
Larablocks Analysis
iwanli/workbench works with Laravel 5 (latest release v0.15, Aug 2, 2016), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5, past end of life
- No release in the last 12 months (last: Aug 2, 2016)
- 0 downloads a month (needs 10,000)
- 2 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Aug 2, 2016.
- No releases in the last 12 months.
- First released: Aug 1, 2016.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.
| Install | |
|---|---|
composer require iwanli/workbench |
|
| Latest Version: | v0.15 |
| PHP: | >=5.5.9 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Aug 2, 2016 |
| Links: | GitHub · Packagist |
l5-workbench
depends on https://github.com/pingpong-labs/workbench ,custom directory and update some code
Installation
You can install the package via composer command line by running this following command.
composer require iwanli/workbench
After the package installed, add Iwanli\Workbench\WorkbenchServiceProvider::class to your providers array in config/app.php file.
'providers' => [
/*
* Laravel Framework Service Providers...
*/
....
Iwanli\Workbench\WorkbenchServiceProvider::class,
],
And the last, publish the package's configuration by running:
php artisan vendor:publish
That will publish the workbench.php config file to your config/ folder and you need to set the name and email of package creators on it.
<?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' => '',
/**
* basic root directory name
*/
'root_dir' => 'packages',
/**
* create directory in src
*/
'support_directory' => [
'config',
'resources/lang',
'migrations',
'resources/views',
'Facades'
]
];
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.
/*
|--------------------------------------------------------------------------
| 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__.'/../packages'))
{
Iwanli\Workbench\Starter::start($workbench);
}
Creating A Package
Before you create a package, you need to update
nameandconfig/workbench.phpfile.
Creating a basic package.
php artisan workbench vendor/package
Creating a package with generating some scaffold resources.
php artisan workbench vendor/package --resources
Related Packages
An enhanced drop-in replacement for Laravel's maintenance mode
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.15 | >=5.5.9 | 5.2.* | MIT | |
| v0.14 | >=5.5.9 | 5.2.* | MIT | |
| v0.13 | >=5.5.9 | 5.2.* | MIT | |
| v0.12 | >=5.5.9 | 5.2.* | MIT | |
| v0.11 | >=5.5.9 | 5.1.* | MIT | |
| v0.10 | >=5.5.9 | 5.1.* | MIT |