PHPackages                             zt/rabbit-mq - 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. zt/rabbit-mq

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

zt/rabbit-mq
============

implement RabbitMQ delay queues

v1.0.1(7y ago)2409↓100%1PHP

Since Sep 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hizt/rabbitmq)[ Packagist](https://packagist.org/packages/zt/rabbit-mq)[ RSS](/packages/zt-rabbit-mq/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

rabbitMQ Delay Queue
--------------------

[](#rabbitmq-delay-queue)

This library is a easy-to-use delayed message queue for rabbitMq.

### Requirements

[](#requirements)

```
-   PHP 5.3** due to the use of `namespace`
-   php-amqplib/php-amqplib >=2.6.1

```

### Composer

[](#composer)

`composer install zt/rabbit-mq`

### Example

[](#example)

- producer ```
        $rabbitMq = new \RabbitMQ\RabbitMQ();
        //Send a normal message.
        $rabbitMq->producer('test', 'Hello world!');
        //Send a message delayed by 1 second.
        $rabbitMq->producer('test', [1, 2] , 1000);
        //Send a message delayed by 2 second
        $rabbitMq->producer('test', new stdClass(), 2000);`
    ```
- consumer ```
        $rabbitMq = new \RabbitMQ\RabbitMQ();
        $rabbitMq->consumer('test' , function($msg){
            var_dump($msg);
        });
    ```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~0 days

Total

2

Last Release

2792d ago

### Community

Maintainers

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

---

Top Contributors

[![hizt](https://avatars.githubusercontent.com/u/13554913?v=4)](https://github.com/hizt "hizt (3 commits)")

### Embed Badge

![Health badge](/badges/zt-rabbit-mq/health.svg)

```
[![Health](https://phpackages.com/badges/zt-rabbit-mq/health.svg)](https://phpackages.com/packages/zt-rabbit-mq)
```

###  Alternatives

[vladimir-yuldashev/laravel-queue-rabbitmq

RabbitMQ driver for Laravel Queue. Supports Laravel Horizon.

2.1k9.8M30](/packages/vladimir-yuldashev-laravel-queue-rabbitmq)[php-amqplib/rabbitmq-bundle

Integrates php-amqplib with Symfony &amp; RabbitMq. Formerly emag-tech-labs/rabbitmq-bundle, oldsound/rabbitmq-bundle.

1.3k20.1M64](/packages/php-amqplib-rabbitmq-bundle)[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2752.3M7](/packages/bschmitt-laravel-amqp)[enqueue/amqp-lib

Message Queue Amqp Transport

1078.5M61](/packages/enqueue-amqp-lib)[jwage/phpamqplib-messenger

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

84149.7k1](/packages/jwage-phpamqplib-messenger)[mikemadisonweb/yii2-rabbitmq

Wrapper based on php-amqplib to incorporate messaging in your Yii2 application via RabbitMQ. Inspired by RabbitMqBundle for Symfony 2, really awesome package.

74262.1k1](/packages/mikemadisonweb-yii2-rabbitmq)

PHPackages © 2026

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