task/box
Composer 安装命令:
composer require task/box
包简介
boxproject.org plugin for Task
README 文档
README
Example
use Task\Plugin\BoxPlugin; $project->inject(function ($container) { $container['box'] = new BoxPlugin; }); $project->addTask('box', ['box', function ($box) { $box->command('build')->pipe($this->getOutput()); });
Installation
Add to composer.json:
... "require-dev": { "task/box": "~0.1" } ...
BOX_PATH
Box requires the BOX_PATH constant to be defined to work. It should contain a path to root of the box library; The plugin sets it to ./vendor/kherge/box by default. If you have the library somewhere else, pass the path to the plugin constructor:
$project->inject(function ($container) { $container['box'] = new BoxPlugin('path/to/box'); });
统计信息
- 总下载量: 59
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-04-23