https://github.com/riskiofr/tactician-module
Module to integrate Tactician with Zend Framework projects.
https://github.com/riskiofr/tactician-module
tactician zf2
Last synced: 10 months ago
JSON representation
Module to integrate Tactician with Zend Framework projects.
- Host: GitHub
- URL: https://github.com/riskiofr/tactician-module
- Owner: RiskioFr
- License: mit
- Created: 2017-02-24T15:30:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-18T16:00:58.000Z (over 8 years ago)
- Last Synced: 2024-12-30T16:54:36.243Z (over 1 year ago)
- Topics: tactician, zf2
- Language: PHP
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tactician module for Zend Framework
===================================
Module to integrate Tactician with Zend Framework projects.
[](http://travis-ci.org/RiskioFr/tactician-module)
[](https://packagist.org/packages/riskio/tactician-module)
[](http://travis-ci.org/RiskioFr/tactician-module)
[](https://packagist.org/packages/riskio/tactician-module)
## Requirements
* PHP 7.0+
* [league/tactician ^1.0](https://github.com/thephpleague/tactician)
* [league/tactician-container ^2.0](https://github.com/thephpleague/tactician-container)
* [zendframework/zend-servicemanager ^3.0](https://github.com/zendframework/zend-servicemanager)
## Installation
Tactician module only officially supports installation through Composer. For Composer documentation, please refer to
[getcomposer.org](http://getcomposer.org/).
You can install the module from command line:
```sh
$ composer require riskio/tactician-module
```
Enable the module by adding `TacticianModule` key to your `application.config.php` file.
## Default configuration
```php
[
'handler' => [
'command_name_extractor' => ClassNameExtractor::class,
'locator' => InMemoryLocator::class,
'method_name_inflector' => InvokeInflector::class,
],
'middlewares' => [],
'command_map' => [],
],
];
```
## Testing
``` bash
$ vendor/bin/phpunit
```
## Credits
- [Nicolas Eeckeloo](https://github.com/neeckeloo)
- [Thomas Dutrion](https://github.com/tdutrion)
- [All Contributors](https://github.com/RiskioFr/idempotency-module/contributors)
## License
The MIT License (MIT). Please see [License File](https://github.com/RiskioFr/tactician-module/blob/master/LICENSE) for more information.