hiqdev/yii2-autobus

简单的自动化命令总线

安装量: 16,433

依赖: 1

建议者: 0

安全性: 0

星标: 1

关注者: 4

分支: 3

开放问题: 0

类型:yii2-extension

dev-master 2023-03-07 12:03 UTC

This package is auto-updated.

Last update: 2024-09-07 15:43:29 UTC


README

简单的自动化命令总线

Latest Stable Version Total Downloads Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Dependency Status

通过 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/)