PHPackages                             kunicmarko/jms-messenger-adapter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. kunicmarko/jms-messenger-adapter

AbandonedArchivedSymfony-bundle[Parsing &amp; Serialization](/categories/parsing)

kunicmarko/jms-messenger-adapter
================================

Use JMS Serializer with Symfony Messenger.

1.1.0(4y ago)993.6k↓41.1%8MITPHPPHP ^7.2 || ^8.0

Since Jan 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/kunicmarko20/jms-messenger-adapter)[ Packagist](https://packagist.org/packages/kunicmarko/jms-messenger-adapter)[ Docs](https://github.com/kunicmarko20/jms-messenger-adapter)[ RSS](/packages/kunicmarko-jms-messenger-adapter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (14)Used By (0)

JMS Messenger Adapter
=====================

[](#jms-messenger-adapter)

Use JMS Serializer with Symfony Messenger.

[![PHP Version](https://camo.githubusercontent.com/e91ffbd23f764553c7ba3dbef9800b30d71268ff4ac35327a2758e50ae6a9e5f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545372e322d626c75652e737667)](https://img.shields.io/badge/php-%5E7.2-blue.svg)[![Latest Stable Version](https://camo.githubusercontent.com/4f3c0b6e2b6798add49b4bb0ed175414a179fa34f423bbf06b7eb90b18b19349/68747470733a2f2f706f7365722e707567782e6f72672f6b756e69636d61726b6f2f6a6d732d6d657373656e6765722d616461707465722f762f737461626c65)](https://packagist.org/packages/kunicmarko/jms-messenger-adapter)[![Latest Unstable Version](https://camo.githubusercontent.com/86b0e455c24851d3fb868e29eee61f62b9fc212f45f5183641cb86ef66588ebb/68747470733a2f2f706f7365722e707567782e6f72672f6b756e69636d61726b6f2f6a6d732d6d657373656e6765722d616461707465722f762f756e737461626c65)](https://packagist.org/packages/kunicmarko/jms-messenger-adapter)

[![Build Status](https://camo.githubusercontent.com/106314a960c062ca51532e167fb17c81cc19173f5beecfcee2e60decebdbbe71/68747470733a2f2f7472617669732d63692e6f72672f6b756e69636d61726b6f32302f6a6d732d6d657373656e6765722d616461707465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kunicmarko20/jms-messenger-adapter)[![Coverage Status](https://camo.githubusercontent.com/82e6558179039619d0b1b361e3c5a6bfc8f0672111140a2ed1d1ab8306641b70/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6b756e69636d61726b6f32302f6a6d732d6d657373656e6765722d616461707465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/kunicmarko20/jms-messenger-adapter?branch=master)

Documentation
-------------

[](#documentation)

- [Installation](#installation)
    - [Symfony](#symfony)
        - [Configuration](#configuration)
- [Stamps](#stamps)

Installation
------------

[](#installation)

Add dependency with Composer:

```
composer require kunicmarko/jms-messenger-adapter
```

### Symfony

[](#symfony)

Enable the bundle for all environments:

```
// bundles.php
return [
    //...
    KunicMarko\JMSMessengerAdapter\Bridge\Symfony\JMSMessengerAdapterBundle::class => ['all' => true],
];
```

#### Configuration

[](#configuration)

```
#config/packages/jms_messenger.yaml
jms_messenger:
    format: json # xml, json
    serializer_id: messenger.transport.jms_serializer
```

Serialized id should be configured in the messenger config, in case you did not get the recipe, just add:

```
#config/packages/jms_messenger.yaml
framework:
  messenger:
    enabled: true
    serializer:
      default_serializer: messenger.transport.jms_serializer
```

Stamps
------

[](#stamps)

This library provides additional stamps that will use JMS Deserialization/Serialization Context for serializing/deserializing messages.

```
use JMS\Serializer\SerializationContext;
use KunicMarko\JMSMessengerAdapter\Stamp\SerializationContextStamp;

$context = SerializationContext::create();
$context->setGroups(['foo']);

$messageBus->dispatch(new Message(), [new SerializationContextStamp($context)]);
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~72 days

Recently: every ~136 days

Total

13

Last Release

1798d ago

Major Versions

0.x-dev → 1.0.02019-12-20

PHP version history (2 changes)0.1.0PHP ^7.2

1.1.0PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13528674?v=4)[Marko Kunic](/maintainers/kunicmarko20)[@kunicmarko20](https://github.com/kunicmarko20)

---

Top Contributors

[![kunicmarko20](https://avatars.githubusercontent.com/u/13528674?v=4)](https://github.com/kunicmarko20 "kunicmarko20 (18 commits)")[![goetas](https://avatars.githubusercontent.com/u/776743?v=4)](https://github.com/goetas "goetas (2 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (1 commits)")

---

Tags

jms-serializersymfonysymfony-messengersymfonybundleserializeradapterjmsMessenger

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kunicmarko-jms-messenger-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/kunicmarko-jms-messenger-adapter/health.svg)](https://phpackages.com/packages/kunicmarko-jms-messenger-adapter)
```

###  Alternatives

[goetas-webservices/xsd2php-runtime

Convert XSD (XML Schema) definitions into PHP classes

4910.9M36](/packages/goetas-webservices-xsd2php-runtime)[jdesrosiers/silex-jms-serializer-provider

A silex service provider that integrates jms/serializer into silex

11126.3k2](/packages/jdesrosiers-silex-jms-serializer-provider)[goetas/xsd2php-runtime

Convert XSD (XML Schema) definitions into PHP classes

493.3k](/packages/goetas-xsd2php-runtime)[bukashk0zzz/liip-imagine-serialization-bundle

Provides integration between LiipImagineBundle and JMSSerializerBundle.

2517.5k](/packages/bukashk0zzz-liip-imagine-serialization-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
