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 2mo 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 27% 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

2255d ago

PHP version history (2 changes)0.1.0PHP ^7.2

0.2.0PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f31e3a808a4f015ebad005caa64866fc90e39475151fc95ef1e11f774d35505?d=identicon)[Th3Mouk](/maintainers/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

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

53541.0k3](/packages/jolicode-castor)[react/async

Async utilities and fibers for ReactPHP

2238.8M171](/packages/react-async)[react/promise-stream

The missing link between Promise-land and Stream-land for ReactPHP

11512.9M45](/packages/react-promise-stream)[mmoreram/gearman-bundle

Adds gearman support to your and Symfony4, Symfony5 project

237395.2k2](/packages/mmoreram-gearman-bundle)

PHPackages © 2026

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