Download the PHP package nicwortel/command-pipeline without Composer
On this page you can find all versions of the php package nicwortel/command-pipeline. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package command-pipeline
Command Pipeline
An in-memory Command Pipeline implementation for PHP. A command pipeline handles cross-cutting concerns in a CQRS application that works with command objects, such as validation of commands, authorization, logging, etc.
Commands are processed in a linear process. The return value of each stage is passed to the next. A stage can only prevent the next stage from being executed by throwing an exception.
The concept of the command pipeline is loosely based on the Pipes and Filters pattern.
Features
- Command validation
- Command authorization
- Wrapping command handling in a Doctrine database transaction
- Dispatching emitted domain events to an event bus
Installation
If you are using Symfony, enable the CommandPipelineBundle:
Usage
Fetch the command_pipeline
service from the service container or (recommended) inject the CommandPipeline
into your
application code:
All versions of command-pipeline with dependencies
beberlei/assert Version ^2.1 || ^3.0
doctrine/doctrine-bundle Version ^1.11 || ^2.0
doctrine/orm Version ^2.6.3
psr/log Version ^1.1
simple-bus/message-bus Version ^6.0
simple-bus/symfony-bridge Version ^6.0
symfony/config Version ^4.0 || ^5.0
symfony/dependency-injection Version ^4.0 || ^5.0
symfony/http-kernel Version ^4.0 || ^5.0
symfony/security-bundle Version ^4.0 || ^5.0
symfony/security-core Version ^4.3 || ^5.0
symfony/validator Version ^4.4.4 || ^5.0.4