hiqdev / yii2-autobus
简单的自动化命令总线
dev-master
2023-03-07 12:03 UTC
Requires
- league/tactician: ^1.0
Requires (Dev)
- hiqdev/hidev-hiqdev: dev-master
- hiqdev/hidev-php: dev-master
- phpunit/phpunit: ^8.0
- yiisoft/yii2: dev-master
This package is auto-updated.
Last update: 2024-09-07 15:43:29 UTC
README
简单的自动化命令总线
通过 Tactician 命令总线实现的简单自动化总线。
提供简单接口
addCommands($branch, $commands)
hasCommand($branch, $name)
runCommand($branch, $name, $args)
安装
安装此yii2-extension的首选方式是通过 composer。
运行以下命令:
php composer.phar require "hiqdev/yii2-autobus"
或者将以下内容添加到您的composer.json文件的require部分:
"hiqdev/yii2-autobus": "*"
配置
此扩展应与 composer-config-plugin 一起使用。
否则,请参阅config/common.php以获取配置示例。
可用的配置参数
commandBus.class
有关更多详细信息,请参阅 config/params.php。
许可
该项目在BSD-3-Clause许可的条款下发布。更多信息请参阅此处。
版权所有 © 2017-2018, HiQDev (http://hiqdev.com/)