Download the PHP package stegeman/symfony-messenger-cloud-events without Composer
On this page you can find all versions of the php package stegeman/symfony-messenger-cloud-events. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stegeman/symfony-messenger-cloud-events
More information about stegeman/symfony-messenger-cloud-events
Files in stegeman/symfony-messenger-cloud-events
Package symfony-messenger-cloud-events
Short Description Symfony Messenger Cloud Events
License MIT
Informations about the package symfony-messenger-cloud-events
Cloudevents integation for Symfony Messenger
Install
Enable the bundle in your kernel:
bundles.php
Configuration
Configure the correct serializer for your transport:
To prevent your messages will be mapped to a PHP namespace each message must be named and matched with a message. This can be done by adding name -> class mapping to your configuration (config/packages/cloud_events.yaml) :
Now it is known which name to map to which class. This is necessary for both serializing as deserializing.
This is all that is needed to get started.
All set, go!
Override services
It is possible to override the normalizer service. This can be done by adding the following to your configuration (config/packages/cloud_events.yaml):
All versions of symfony-messenger-cloud-events with dependencies
symfony/messenger Version ^7.3 || ^8
cloudevents/sdk-php Version ^1.1
ramsey/uuid Version ^4.9
symfony/http-kernel Version ^7.3 || ^8
symfony/config Version ^7.3 || ^8
symfony/dependency-injection Version ^7.3 || ^8
jms/serializer-bundle Version ^5