PHPackages                             gember/message-bus-symfony - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. gember/message-bus-symfony

ActiveLibrary[Queues &amp; Workers](/categories/queues)

gember/message-bus-symfony
==========================

Gember Event Sourcing Message Bus adapter based on symfony/messenger

0.11.0(3mo ago)28792MITPHPPHP ^8.3CI passing

Since Apr 28Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/GemberPHP/message-bus-symfony)[ Packagist](https://packagist.org/packages/gember/message-bus-symfony)[ RSS](/packages/gember-message-bus-symfony/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (12)Used By (2)

🫚 Gember Message Bus: Symfony Messenger
=======================================

[](#-gember-message-bus-symfony-messenger)

[![Build Status](https://camo.githubusercontent.com/3d11e94862f06f49a66a4446fe443ba7a14f36fc394cbf685e4814c2ac59e2f4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f47656d6265725048502f6d6573736167652d6275732d73796d666f6e792f6261646765732f6275696c642e706e673f623d6d61696e)](https://github.com/GemberPHP/message-bus-symfony/actions)[![Coverage Status](https://camo.githubusercontent.com/9e061a0e3758d714ae31532b5affbc7d18406eb23d448ac272d8baa0ec0773fb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f47656d6265725048502f6d6573736167652d6275732d73796d666f6e792e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/GemberPHP/message-bus-symfony/code-structure)[![Quality Score](https://camo.githubusercontent.com/404eb0ffecf6370a5a8b533d73947c3dc28e12732d1a354054d0ad9fe625e2c2/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f47656d6265725048502f6d6573736167652d6275732d73796d666f6e792e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/GemberPHP/message-bus-symfony)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE)[![PHP Version](https://camo.githubusercontent.com/05de8fa997dec7bd6b39b7af8c030c734835c6871547f8b2d9ae87e4299ebc8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e332d3838393242462e7376673f7374796c653d666c6174)](http://www.php.net)

[Gember Event Sourcing](https://github.com/GemberPHP/event-sourcing) Message Bus adapter based on [symfony/messenger](https://github.com/symfony/messenger).

> All external dependencies in Gember Event Sourcing are organized into separate packages, making it easy to swap out a vendor adapter for another.

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

[](#installation)

Install with Composer:

```
composer gember/message-bus-symfony
```

Configuration
-------------

[](#configuration)

Bind this adapter to the `EventBus` interface in your service definitions.

### Examples

[](#examples)

#### Vanilla PHP

[](#vanilla-php)

```
use Gember\MessageBusSymfony\SymfonyEventBus;
use Symfony\Component\Messenger\Handler\HandlersLocator;
use Symfony\Component\Messenger\MessageBus;
use Symfony\Component\Messenger\Middleware\HandleMessageMiddleware;

$finder = new SymfonyEventBus(
    new MessageBus([ // An EventBus configuration of your choice
        new HandleMessageMiddleware(new HandlersLocator([
            SomeEvent::class => [SomeEventSubscriber::class],
            // ...
        ])),
    ]),
);
```

#### Symfony

[](#symfony)

It is recommended to use the [Symfony bundle](https://github.com/GemberPHP/event-sourcing-symfony-bundle) to configure Gember Event Sourcing. With this bundle, the adapter is automatically set as the default for Event Bus.

If you're not using the bundle, you can bind it directly to the `EventBus` interface.

```
Gember\DependencyContracts\Util\Messaging\MessageBus\EventBus:
  class: Gember\MessageBusSymfony\SymfonyEventBus
  arguments:
    - '@event.bus' # or any other defined Symfony event bus
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance78

Regular maintenance activity

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~26 days

Recently: every ~33 days

Total

11

Last Release

119d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f5fda898ea5700962c462ce21749b844fa13a9b239bfb52c95926a90d07c0ef5?d=identicon)[jerowork](/maintainers/jerowork)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (75 commits)")[![jerowork](https://avatars.githubusercontent.com/u/4119451?v=4)](https://github.com/jerowork "jerowork (25 commits)")

---

Tags

cqrsdcbddddomain-driven-designdynamic-consistency-boundaryevent-sourcinggembermessage-busmessengersymfonysymfonyDomain Driven Designdddevent sourcingMessengercqrsmessage busgember

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gember-message-bus-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/gember-message-bus-symfony/health.svg)](https://phpackages.com/packages/gember-message-bus-symfony)
```

###  Alternatives

[jwage/phpamqplib-messenger

Symfony messenger transport for the php-amqplib/php-amqplib library.

84149.7k1](/packages/jwage-phpamqplib-messenger)[prooph/service-bus-symfony-bundle

88392.2k3](/packages/prooph-service-bus-symfony-bundle)

PHPackages © 2026

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