gri3li/symfony-messenger-serializer-plain

A plain Symfony Messenger serializer without stamps handling

Installs: 7

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/gri3li/symfony-messenger-serializer-plain

v1.0.0-rc 2024-09-28 18:21 UTC

This package is auto-updated.

Last update: 2025-09-28 20:34:56 UTC


README

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.