| Package Data | |
|---|---|
| Maintainer Username: | gravitano |
| Maintainer Contact: | taylorotwell@gmail.com (Taylor Otwell) |
| Package Create Date: | 2015-05-24 |
| Package Last Update: | 2017-08-29 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-22 15:04:43 |
| Package Statistics | |
|---|---|
| Total Downloads: | 9,873 |
| Monthly Downloads: | 5 |
| Daily Downloads: | 0 |
| Total Stars: | 11 |
| Total Watchers: | 1 |
| Total Forks: | 6 |
| Total Open Issues: | 0 |
| Laravel Version | Workbench Version | |-----------------|-------------------| | 5.2.* | 5.2.* | | 5.3.* | 5.3.* | | 5.4.* | 5.4.* |
You can install the package via composer command line by running this following command.
composer require pingpong/workbench
After the package installed, add Pingpong\Workbench\WorkbenchServiceProvider to your providers array in config/app.php file.
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.
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__.'/../workbench')) {
Pingpong\Workbench\Starter::start($workbench);
}
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
For more documentation you can visit the official laravel documentation