pingpong / workbench
Laravel 5 Workbench.
Installs: 9 716
Dependents: 1
Suggesters: 0
Security: 0
Stars: 11
Watchers: 3
Forks: 41
Open Issues: 0
Requires
- php: >=5.5.9
- illuminate/filesystem: 5.4.*
- illuminate/support: 5.4.*
Requires (Dev)
- illuminate/console: 5.4.*
- 5.4.x-dev
- v5.4.0
- 5.3.x-dev
- v5.3.0
- 5.2.x-dev
- dev-master / 5.2.x-dev
- v5.2.2
- v5.2.1
- v5.2.0
- 5.1.x-dev
- v5.1.2
- v5.1.1
- v5.1.0
- 5.0.0
- 4.2.x-dev
- v4.2.16
- v4.2.12
- v4.2.9
- v4.2.8
- v4.2.7
- v4.2.6
- v4.2.5
- v4.2.4
- v4.2.3
- v4.2.2
- v4.2.1
- v4.2.0-BETA1
- 4.1.x-dev
- v4.1.30
- v4.1.29
- v4.1.28
- v4.1.27
- v4.1.26
- v4.1.25
- v4.1.24
- v4.1.23
- v4.1.22
- v4.1.21
- v4.1.20
- v4.1.19
- v4.1.18
- v4.1.17
- v4.1.16
- v4.1.15
- v4.1.14
- v4.1.13
- v4.1.12
- v4.1.11
- v4.1.10
- v4.1.9
- v4.1.8
- v4.1.7
- v4.1.6
- v4.1.5
- v4.1.4
- v4.1.3
- v4.1.2
- v4.1.1
- v4.1.0
- 4.0.x-dev
- v4.0.10
- v4.0.9
- v4.0.8
- v4.0.7
- v4.0.6
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v4.0.0-BETA4
- v4.0.0-BETA3
- v4.0.0-BETA2
- v1.1.0
This package is not auto-updated.
Last update: 2024-11-09 18:27:24 UTC
README
Version Compability
Installation
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.
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__.'/../workbench')) { Pingpong\Workbench\Starter::start($workbench); }
Creating A Package
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
Other Documentation
For more documentation you can visit the official laravel documentation