Download the PHP package handcraftedinthealps/redis-transport-bundle without Composer
On this page you can find all versions of the php package handcraftedinthealps/redis-transport-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download handcraftedinthealps/redis-transport-bundle
More information about handcraftedinthealps/redis-transport-bundle
Files in handcraftedinthealps/redis-transport-bundle
Package redis-transport-bundle
Short Description A symfony messenger transport implementation for redis streams.
License MIT
Informations about the package redis-transport-bundle
RedisTransportBundle ⛰
A symfony messenger transport implementation for redis streams.
NOTE: Most of the logic has moved to the Core Symfony Messenger component in 4.3. So this bundle is not longer a requirement to use messenger with redis streams. You can now use the
redis://
instead ofredis-stream://
and remove this bundle from your requirements.
Requirements
- PHP:
^7.1
- Redis Extension:
^4.2
- Redis Extension:
- Redis Server:
^5.0
Symfony compatibility
Symfony Messenger Version | Bundle Version |
---|---|
4.2 | 1.0 |
4.3 | 1.1 |
When upgrading to symfony 4.3 you should replace this bundle
with the symfony redis://
transport and remove the bundle
from your requirements.
Installation
You need composer to install this bundle to your symfony application.
Configuration
Symfony
When using the symfony/framework-bundle you can configure the following:
You can then send a DomainEventMessage or your custom Message over the redis stream:
And you can consume the messages with:
Have also a look at the messenger component documentation and messenger usage documentation.
Commands
Messages in streams won't be removed by default. Therefor this bundle provides a command:
All versions of redis-transport-bundle with dependencies
ext-redis Version ^4.2 || ^5.0 || ^6.0
symfony/messenger Version ^4.3 || ^5.4 || ^6.0
symfony/config Version ^3.4 || ^4.0 || ^5.4 || ^6.0
symfony/dependency-injection Version ^3.4 || ^4.0 || ^5.4 || ^6.0
symfony/serializer Version ^3.4 || ^4.0 || ^5.4 || ^6.0
symfony/property-access Version ^3.4 || ^4.0 || ^5.4 || ^6.0