PHPackages                             sylius-labs/rabbitmq-simplebus-bundle - 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. sylius-labs/rabbitmq-simplebus-bundle

ActiveSymfony-bundle[Queues &amp; Workers](/categories/queues)

sylius-labs/rabbitmq-simplebus-bundle
=====================================

Integrates RabbitMQ with SimpleBus.

v1.1.0(7y ago)1150.7k4[1 PRs](https://github.com/SyliusLabs/RabbitMqSimpleBusBundle/pulls)1MITPHPPHP ^7.1

Since May 12Pushed 7y ago4 watchersCompare

[ Source](https://github.com/SyliusLabs/RabbitMqSimpleBusBundle)[ Packagist](https://packagist.org/packages/sylius-labs/rabbitmq-simplebus-bundle)[ RSS](/packages/sylius-labs-rabbitmq-simplebus-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (8)Versions (12)Used By (1)

RabbitMqSimpleBusBundle
=======================

[](#rabbitmqsimplebusbundle)

Transforms AMQP messages received from RabbitMQ to event handled by SimpleBus.

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

[](#installation)

1. Require this package:

```
$ composer require sylius-labs/rabbitmq-simplebus-bundle
```

2. Add bundle to `AppKernel.php`:

```
public function registerBundles()
{
    $bundles = [
        new \SyliusLabs\RabbitMqSimpleBusBundle\RabbitMqSimpleBusBundle(),
    ];

    return array_merge(parent::registerBundles(), $bundles);
}
```

Usage
-----

[](#usage)

1. Create your custom AMQP messages denormalizer:

```
// src/Acme/CustomDenormalizer.php

namespace Acme;

use PhpAmqpLib\Message\AMQPMessage;
use SyliusLabs\RabbitMqSimpleBusBundle\Denormalizer\DenormalizationFailedException;
use SyliusLabs\RabbitMqSimpleBusBundle\Denormalizer\DenormalizerInterface;

class CustomDenormalizer implements DenormalizerInterface
{
    public function supports(AMQPMessage $message)
    {
        return null !== json_decode($message->getBody(), true);
    }

    public function denormalize(AMQPMessage $message)
    {
        if (!$this->supports($message)) {
            throw new DenormalizationFailedException('Unsupported message!');
        }

        return new CustomEvent(json_decode($message->getBody(), true));
    }
}
```

2. Tag your denormalizer service with `rabbitmq_simplebus.amqp_denormalizer`:

```

```

```
# app/config/services.yml

services:
    acme.custom_denormalizer:
        class: Acme\CustomDenormalizer
        tags:
            - { name: rabbitmq_simplebus.amqp_denormalizer }
```

3. [Configure RabbitMQ consumer](https://github.com/php-amqplib/RabbitMqBundle#usage):

```
# app/config/config.yml

old_sound_rabbit_mq:
    connections:
        default:
            host: 'localhost'
            port: 5672
            user: 'guest'
            password: 'guest'
    consumers:
        rabbitmq_simplebus:
            connection: default
            exchange_options: { name: 'rabbitmq-simplebus', type: direct }
            queue_options: { name: 'rabbitmq-simplebus' }
            callback: rabbitmq_simplebus.consumer
```

4. Run RabbitMQ consumer:

```
$ bin/console rabbitmq:consumer rabbitmq_simplebus
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 76.3% 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 ~48 days

Recently: every ~110 days

Total

11

Last Release

2805d ago

Major Versions

v0.2.3 → v1.0.0-alpha2017-05-16

PHP version history (2 changes)v0.1.0PHP ^5.6|^7.0

v1.0.0-betaPHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/719423?v=4)[Sylius eCommerce](/maintainers/sylius)[@Sylius](https://github.com/Sylius)

![](https://www.gravatar.com/avatar/4b4a5a1a9293502aa8573551fab020963a9050c5cca4524433b6d94214d3b480?d=identicon)[GSadee](/maintainers/GSadee)

---

Top Contributors

[![pamil](https://avatars.githubusercontent.com/u/1897953?v=4)](https://github.com/pamil "pamil (29 commits)")[![Arminek](https://avatars.githubusercontent.com/u/6368946?v=4)](https://github.com/Arminek "Arminek (6 commits)")[![sergejvoronov](https://avatars.githubusercontent.com/u/20336797?v=4)](https://github.com/sergejvoronov "sergejvoronov (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sylius-labs-rabbitmq-simplebus-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/sylius-labs-rabbitmq-simplebus-bundle/health.svg)](https://phpackages.com/packages/sylius-labs-rabbitmq-simplebus-bundle)
```

###  Alternatives

[simple-bus/rabbitmq-bundle-bridge

Use OldSoundRabbitMQBundle with SimpleBus/AsynchronousBundle

39827.3k4](/packages/simple-bus-rabbitmq-bundle-bridge)[uecode/qpush-bundle

Asynchronous processing for Symfony using Push Queues

1682.4M2](/packages/uecode-qpush-bundle)[simple-bus/asynchronous-bundle

Symfony bundle for using SimpleBus/Asynchronous

241.2M6](/packages/simple-bus-asynchronous-bundle)[novosga/novosga

Customer queue management system

26457.9k](/packages/novosga-novosga)[sfcod/jobqueue

Async queues for Symfony

165.5k](/packages/sfcod-jobqueue)[kaliop/queueingbundle

Kaliop Queueing Bundle

145.1k3](/packages/kaliop-queueingbundle)

PHPackages © 2026

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