strorch / yii2-autobus

Simple automated command bus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yii2 AutoBus

Simple automated command bus

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

Simple automated bus over Tactician command bus.

Provides simple interface:

  • addCommands($branch, $commands)
  • hasCommand($branch, $name)
  • runCommand($branch, $name, $args)

Installation

The preferred way to install this yii2-extension is through composer.

Either run

php composer.phar require "hiqdev/yii2-autobus"

or add

"hiqdev/yii2-autobus": "*"

to the require section of your composer.json.

Configuration

This extension is supposed to be used with composer-config-plugin.

Else look config/common.php for configuration example.

Available configuration parameters:

  • commandBus.class

For more details please see config/params.php.

License

This project is released under the terms of the BSD-3-Clause license. Read more here.

Copyright © 2017-2018, HiQDev (http://hiqdev.com/)

About

Simple automated command bus

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 100.0%