tillkruss / laravel-tactician
A flexible and easy to use implementation of the Tactician command bus for Laravel 5.
Requires
- php: >=5.5.9
- league/tactician: ^1.0
Requires (Dev)
- illuminate/support: ^5.2
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ^4.8|^5.2
This package is auto-updated.
Last update: 2021-04-12 11:44:29 UTC
README
A flexible and easy to use implementation of the Tactician command bus for Laravel 5.
Introduction
This package is a stand-alone command bus implementation of the PHP League’s Tactician command bus, it’s not a replacement for Laravel’s command bus or queue.
Features:
- Easy to use, configure and extend
- 3 kinds of command handler locators
- Database transaction middleware
Installation
To get started, add this package to your composer.json
file as a dependency:
composer require tillkruss/laravel-tactician
Next, open your app
configuration file and add the TacticianServiceProvider
to your list of providers
:
TillKruss\LaravelTactician\TacticianServiceProvider,
After that, add the tactician.php
configuration file by running:
php artisan vendor:publish --provider="TillKruss\LaravelTactician\TacticianServiceProvider"
Configuration
Please see CONFIGURATION.md for more information on how to configure this package.
Usage
Please see USAGE.md for code samples and more information on how to use this package.
License
This package is open-sourced software licensed under the MIT license.