Download the PHP package dmt-software/command-bus-validator without Composer
On this page you can find all versions of the php package dmt-software/command-bus-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dmt-software/command-bus-validator
More information about dmt-software/command-bus-validator
Files in dmt-software/command-bus-validator
Download dmt-software/command-bus-validator
More information about dmt-software/command-bus-validator
Files in dmt-software/command-bus-validator
Vendor dmt-software
Package command-bus-validator
Short Description Tactician CommandBus middleware to validate commands using the Symfony Validator
License MIT
Package command-bus-validator
Short Description Tactician CommandBus middleware to validate commands using the Symfony Validator
License MIT
Please rate this library. Is it a good library?
Informations about the package command-bus-validator
Command-Bus-Validator
Install
composer require dmt-software/command-bus-validator
Usage
Default usage
Configure and adding this middleware to the commandBus:
After the CommandBus is added, the commands it receives will be validated when the handle method is called:
Using custom configured validator
The validator can also be plugged unto the middleware by providing it to the middleware constructor.
This example uses a FileLoader to determine the constraints for a command.
Further reading
All versions of command-bus-validator with dependencies
PHP Build Version
Package Version
The package dmt-software/command-bus-validator contains the following files
Loading the files please wait ...