xiaolu/workbench
Composer 安装命令:
composer require xiaolu/workbench
包简介
Laravel 5 Workbench.
README 文档
README
Installation
You can install the package via composer command line by runnign 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
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
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
Other Documentation
For more documentation you can visit the official laravel documentation
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-12