A small, pluggable command bus. Still in active development.
See the full docs or the examples directory to get started.
Using Composer:
composer require league/tactician
The core Tactician package is small but there are several plugin packages that extend the usefulness of Tactician:
- Logger: Adds PSR-3 logging support for receiving, completing or failing commands.
- Doctrine: Wraps commands in separate Doctrine ORM transactions.
- Bernard: Allows queuing your commands in the background, using the Bernard Queuing library.
- Command Events: Fires events for all major moments in the command life-cycle.
- Locking: Only allows one command to be executed at a time.
There is ongoing development for Zend, Symfony2 and Laravel integration packages. Check the github issues to see their status.
To run all unit tests, use the locally installed PHPUnit:
$ ./vendor/bin/phpunit
Please see CONTRIBUTING for details.