PHPackages                             rxthunder/rabbitmq - 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. rxthunder/rabbitmq

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

rxthunder/rabbitmq
==================

RabbitMQ library for RxThunder

0.2.2(6y ago)12.1k1[1 issues](https://github.com/RxThunder/RabbitMQ/issues)MITPHPPHP ^7.4

Since Jul 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/RxThunder/RabbitMQ)[ Packagist](https://packagist.org/packages/rxthunder/rabbitmq)[ RSS](/packages/rxthunder-rabbitmq/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (7)Versions (7)Used By (0)

[![](./resources/thunder-logo.svg)](./resources/thunder-logo.svg)

[![Latest Stable Version](https://camo.githubusercontent.com/96a99e48384dc9904d1961a64e6a49f61cc85ae6ac80e44acbde4ef06f6bfe2f/68747470733a2f2f706f7365722e707567782e6f72672f72787468756e6465722f7261626269746d712f762f737461626c652e737667)](https://packagist.org/packages/rxthunder/rabbitmq)[![Total Downloads](https://camo.githubusercontent.com/bd69c9d0db5041bdca7bb0ae9474072fd9d7819d7a3a52e58de36cdbab94296f/68747470733a2f2f706f7365722e707567782e6f72672f72787468756e6465722f7261626269746d712f642f746f74616c2e737667)](https://packagist.org/packages/rxthunder/rabbitmq)[![License](https://camo.githubusercontent.com/8cc1f546ca00c27a1926d5cd38fabd65d92c531b1ba3b065c37e901462f3bddd/68747470733a2f2f706f7365722e707567782e6f72672f72787468756e6465722f7261626269746d712f6c6963656e73652e737667)](https://packagist.org/packages/rxthunder/rabbitmq)

[![Build](https://camo.githubusercontent.com/9cfbbc9c7a05c1a36a2ee8de2533ad7055d9e22943321cfdf5a313ec1772985c/68747470733a2f2f7472617669732d63692e6f72672f52785468756e6465722f5261626269746d712e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/RxThunder/Rabbitmq)

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

[](#installation)

```
composer install rxthunder/rabbitmq

```

Setup
-----

[](#setup)

First you must add new secrets in your .env files

```
# .env
RABBIT_HOST=
RABBIT_PORT=
RABBIT_VHOST=
RABBIT_USER=
RABBIT_PASSWORD=

```

Then configure new parameters to be injected in the container

```
# config/parameters.php

$container->setParameter('rabbit.host', getenv('RABBIT_HOST'));
$container->setParameter('rabbit.port', getenv('RABBIT_PORT'));
$container->setParameter('rabbit.vhost', getenv('RABBIT_VHOST'));
$container->setParameter('rabbit.user', getenv('RABBIT_USER'));
$container->setParameter('rabbit.password', getenv('RABBIT_PASSWORD'));
```

Finally you must register an instance of [RxNet/RabbitMq](https://github.com/Rxnet/rabbitmq)client in the container.

You can do your own factory but a default one is embed in the plugin using the [voryx/event-loop](https://github.com/voryx/event-loop) static getter.

```
# config/services.php

use Rxnet\RabbitMq\Client;
use RxThunder\RabbitMQ\Factory;

$asynchRabbitMQDefinition = $container->register(Client::class)
    ->setFactory([Factory::class, 'createWithVoryxEventLoop'])
    ->addArgument('%rabbit.host%')
    ->addArgument('%rabbit.port%')
    ->addArgument('%rabbit.vhost%')
    ->addArgument('%rabbit.user%')
    ->addArgument('%rabbit.password%')
    ->setPublic(false)
    ->setAutowired(false)
    ->setAutoconfigured(true);
```

```
# config/services.php

require_once __DIR__ . '/../vendor/rxthunder/rabbitmq/config/services.php';

// Register RabbitMQ consoles
$consoleDefinition = new Definition();
$consoleDefinition->setPublic(true);
$consoleDefinition->setAutowired(true);
$consoleDefinition->setAutoconfigured(true);

$this->registerClasses($consoleDefinition, 'RxThunder\\RabbitMQ\\Console\\', '../vendor/rxthunder/rabbitmq/src/Console/*');
```

Or if you prefer you can include

```
# config/services.php

require_once __DIR__ . '/../vendor/rxthunder/rabbitmq/config/services.php';
require_once __DIR__ . '/../vendor/rxthunder/rabbitmq/config/consoles.php';
```

Profit
------

[](#profit)

You got new consoles !

```
php vendor/bin/thunder

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.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 ~46 days

Recently: every ~52 days

Total

6

Last Release

2302d ago

PHP version history (2 changes)0.1.0PHP ^7.2

0.2.0PHP ^7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5006899?v=4)[Jérémy](/maintainers/Th3Mouk)[@Th3Mouk](https://github.com/Th3Mouk)

---

Top Contributors

[![Th3Mouk](https://avatars.githubusercontent.com/u/5006899?v=4)](https://github.com/Th3Mouk "Th3Mouk (11 commits)")[![TomPradat](https://avatars.githubusercontent.com/u/16164512?v=4)](https://github.com/TomPradat "TomPradat (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rxthunder-rabbitmq/health.svg)

```
[![Health](https://phpackages.com/badges/rxthunder-rabbitmq/health.svg)](https://phpackages.com/packages/rxthunder-rabbitmq)
```

###  Alternatives

[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[phparkitect/phparkitect

Enforce architectural constraints in your PHP applications

9184.1M24](/packages/phparkitect-phparkitect)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[api-platform/symfony

Symfony API Platform integration

384.0M110](/packages/api-platform-symfony)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[testo/testo

A lightweight PHP testing framework.

1943.4k38](/packages/testo-testo)

PHPackages © 2026

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