2017 © Pedro Peláez
 

library tactician

Tactician integration with Nette projects

image

cellar/tactician

Tactician integration with Nette projects

  • Friday, April 6, 2018
  • by lukascellar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 94 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 4 % Grown

The README.md

Nette Tactician integration

Nette extension for the Tactician library https://github.com/thephpleague/tactician/, (*1)

Installation

Step 1: Download Nette extension for Tactician

Open a command console, enter your project directory and execute the following command to download latest version:, (*2)

$ composer require cellar/tactician

Step 2: Enable the extension

Open your application config file and add TacticianExtension:, (*3)

extensions: 
    tactician: Cellar\Tactician\DI\TacticianExtension

Step 3: Configure middlewares

tactician:
    commandbus:
        default:
            middleware:
                - @tactician.middleware.queue
                - @tactician.middleware.locking
                - @tactician.middleware.command_handler

Important: Adding your own middleware is absolutely encouraged, just be sure to always add @tactician.middleware.command_handler as the final middleware. Otherwise, your commands won't actually be executed., (*4)

Check the Tactician docs for more info and a complete list of middleware., (*5)

Step 4: Add command handlers

services:
    myCommandHandler: 
        class: My\LaunchRocketHandler
        tags: 
            tactician.handler: [
                command: My\LaunchRocketCommand
            ]

The Versions

06/04 2018

dev-master

9999999-dev

Tactician integration with Nette projects

  Sources   Download

The Requires

 

06/04 2018

1.0.4

1.0.4.0

Tactician integration with Nette projects

  Sources   Download

The Requires

 

06/02 2018

1.0.3

1.0.3.0

Tactician integration with Nette projects

  Sources   Download

The Requires

 

03/02 2018

1.0.2

1.0.2.0

Tactician integration with Nette projects

  Sources   Download

The Requires

 

06/09 2017

1.0.1

1.0.1.0

Tactician integration with Nette projects

  Sources   Download

The Requires

 

23/08 2017

1.0.0

1.0.0.0

Tactician integration with Nette projects

  Sources   Download

The Requires