Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.32 KB

File metadata and controls

23 lines (15 loc) · 1.32 KB

PlainSerializer for Symfony Messenger

This package provides a simplified implementation of the SerializerInterface for Symfony Messenger. It serializes and deserializes messages without stamps support, making it a lightweight solution for interacting with microservices that do not support the Symfony Messenger message format.

Installation

Install the package via Composer:

composer require gri3li/symfony-messenger-serializer-plain

Usage

Since all messages will be serialized and deserialized as instances of StdClass, you will most likely need to provide custom implementations of the interfaces:

By creating your own implementations of these interfaces, you can retain full control over how messages are routed and handled, even without class-based differentiation.