Download the PHP package thomasvargiu/zf-messenger without Composer
On this page you can find all versions of the php package thomasvargiu/zf-messenger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thomasvargiu/zf-messenger
More information about thomasvargiu/zf-messenger
Files in thomasvargiu/zf-messenger
Package zf-messenger
Short Description ZF factories to use the Symfony Messenger in ZF2 and expressive applications
License MIT
Informations about the package zf-messenger
zf-messenger
Archived Project
This project is abandoned. You should use thomasvargiu/laminas-messenger
.
ZF factories to use the Symfony Messenger in ZF2 and expressive applications
Usage
You need to add console commands to your application. The following command services are already configured for you:
Symfony\Component\Messenger\Command\ConsumeMessagesCommand
Symfony\Component\Messenger\Command\SetupTransportsCommand
Symfony\Component\Messenger\Command\FailedMessagesRemoveCommand
Symfony\Component\Messenger\Command\FailedMessagesRetryCommand
Symfony\Component\Messenger\Command\FailedMessagesShowCommand
Symfony\Component\Messenger\Command\StopWorkersCommand
(see note below)
To use the Symfony\Component\Messenger\Command\StopWorkersCommand
command you should set a CacheItemPoolInterface
implementation (see below).
A default message bus is already configured for you with the following service name: messenger.bus.default
.
You can read the Symfony documentation to know
how to use it.
Configuration
This is an example configuration:
All versions of zf-messenger with dependencies
psr/container Version ^1.0
symfony/event-dispatcher Version ^4.3 || ^5.0
symfony/messenger Version ^4.4 || ^5.0
zendframework/zend-servicemanager Version ^3.0