Package Data | |
---|---|
Maintainer Username: | xtwoend |
Maintainer Contact: | taylorotwell@gmail.com (Taylor Otwell) |
Package Create Date: | 2015-05-25 |
Package Last Update: | 2015-08-05 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-17 03:02:35 |
Package Statistics | |
---|---|
Total Downloads: | 592 |
Monthly Downloads: | 2 |
Daily Downloads: | 1 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 2 |
Total Open Issues: | 0 |
You can install the package via composer command line by runnign this following command.
composer require xtwoend/workbench
After the package installed, add Xtwoend\Workbench\WorkbenchServiceProvider::class
to your providers
array in config/app.php
file.
And the last, publish the package's configuration by running:
php artisan vendor:publish
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'))
{
Xtwoend\Workbench\Starter::start($workbench);
}
Before you create a package, you need to update
name
andconfig/workbench.php
file.
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