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

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

corley/queue-rabbitmq
=====================

0.0.1(9y ago)015[1 issues](https://github.com/wdalmut/queue-rabbitmq/issues)MITPHP

Since Jan 24Pushed 9y agoCompare

[ Source](https://github.com/wdalmut/queue-rabbitmq)[ Packagist](https://packagist.org/packages/corley/queue-rabbitmq)[ RSS](/packages/corley-queue-rabbitmq/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

RabbitMQ adapter
================

[](#rabbitmq-adapter)

To use this package your need `php-amqplib/php-amqplib`

```
composer require php-amqplib/php-amqplib:~2
```

Use as adapter
--------------

[](#use-as-adapter)

Create the adapter

```
use Corley\Queue\RabbitMQ\RabbitMQ;

$amqp = new AMQPStreamConnection('localhost', 5672, 'username', 'password');
$adapter = new RabbitMQ($amqp);
```

You can use `exchange` and receive timeout options

```
$adapter = new RabbitMQ($amqp, [
    "exchange" => "my_exchange", // send to an exchange
    "receive_timeout" => 20, // exit after 20 seconds
]);
```

Set as usual

```
use Corley\Queue\Queue;

$queue = new Queue("my_queue", $adapter);
$queue->send(json_encode(["test" => "ok"]));

list($receipt, $message) = $queue->receive();
$message = json_decode($message, true);

$queue->delete($receipt);
```

Test suite (functional)
-----------------------

[](#test-suite-functional)

```
docker run -d --hostname my-rabbit \
    -p 5672:5672 -p 15672:15672 --name rabbit \
    -e RABBITMQ_DEFAULT_USER=wdalmut \
    -e RABBITMQ_DEFAULT_PASS=testtest \
    rabbitmq:3-management
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3444d ago

### Community

Maintainers

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

---

Top Contributors

[![wdalmut](https://avatars.githubusercontent.com/u/551974?v=4)](https://github.com/wdalmut "wdalmut (1 commits)")

---

Tags

phpqueuerabbitmqrabbitmq-client

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[vladimir-yuldashev/laravel-queue-rabbitmq

RabbitMQ driver for Laravel Queue. Supports Laravel Horizon.

2.1k10.3M32](/packages/vladimir-yuldashev-laravel-queue-rabbitmq)[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2792.4M7](/packages/bschmitt-laravel-amqp)[jwage/phpamqplib-messenger

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

87201.9k1](/packages/jwage-phpamqplib-messenger)[hyperf/amqp

A amqplib for hyperf.

231.2M66](/packages/hyperf-amqp)[convenia/pigeon

3334.2k](/packages/convenia-pigeon)

PHPackages © 2026

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