https://github.com/eviweb/laravel4-workbench
an extension to the native workbench command provided by Laravel4
https://github.com/eviweb/laravel4-workbench
Last synced: about 1 month ago
JSON representation
an extension to the native workbench command provided by Laravel4
- Host: GitHub
- URL: https://github.com/eviweb/laravel4-workbench
- Owner: eviweb
- License: mit
- Created: 2013-11-21T00:55:08.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-01-21T10:18:59.000Z (over 6 years ago)
- Last Synced: 2025-01-19T21:46:17.007Z (over 1 year ago)
- Language: PHP
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Laravel4 Extended Workbench
===========================
This is an extension to the native workbench command provided by Laravel4
Build Status
------------
**Travis CI:** [](https://travis-ci.org/eviweb/laravel4-workbench)
**Scrutinizer CI:** [](https://scrutinizer-ci.com/g/eviweb/laravel4-workbench/)
How to install
--------------
### Manually using Composer
* Run `composer require eviweb/laravel4-workbench:dev-master`
* Add `'evidev\laravel4\extensions\workbench\WorkbenchServiceProvider'` in the `providers` section of your `app/config/app.php` configuration file
### Using Laravel Package Installer
* Run `php artisan package:install eviweb/laravel4-workbench:dev-master`
How to use
----------
Once the package is installed, run `artisan config:publish eviweb/laravel4-workbench`, then edit the configuration file `app/config/packages/laravel4-workbench/config.php`.
Use the command `artisan workbench [options] vendor/package` as you done before.
This will generate your plugin skeleton.
Available options
-----------------
```bash
--resources Create Laravel specific directories
--psr0 Specify a specific PSR-0 compliant namespace mapping
--ns Specify a custom namespace for this package
```
**This feature extension ensures backward compatibility with the native implementation**
This means that running `artisan workbench vendor/package` or `artisan workbench --resources vendor/package` would give you the same result as before.