Skip to content

AGmakonts/tactician

 
 

Repository files navigation

Tactician

Travis CI Scrutinizer Code Quality Code Coverage Build Status MIT License SensioLabsInsight

A small, pluggable command bus. Still in active development.

See the full docs or the examples directory to get started.

Install

Using Composer:

composer require league/tactician

Plugins

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.

Framework Integration

There is ongoing development for Zend, Symfony2 and Laravel integration packages. Check the github issues to see their status.

Testing

To run all unit tests, use the locally installed PHPUnit:

$ ./vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

About

A simple, flexible command bus

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%