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

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

colearn/rabbitmq
================

Follow guide https://www.rabbitmq.com/ to create a library easy to use. For Laravel!

1.0.3(4y ago)0541MITPHPPHP &gt;=7.2

Since Oct 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hieudd92/colearn-rabbitmq)[ Packagist](https://packagist.org/packages/colearn/rabbitmq)[ RSS](/packages/colearn-rabbitmq/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (1)

RabbitMQ
========

[](#rabbitmq)

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

[](#installation)

Install via composer

```
composer require colearn/rabbitmq
```

### Publish package assets

[](#publish-package-assets)

```
php artisan vendor:publish --provider="CoLearn\RabbitMQ\RabbitMQServiceProvider"
```

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

How to use
----------

[](#how-to-use)

\####Server RPC as service

```
$this->rabbit = app('rabbitmq.queue')->connection('rabbitmq');
RabbitMQ::declareRPCServer($this->rabbit, 'name_of_queue', function ($request) {
    # code...
});

```

\####Client RPC as service

```
$this->rabbit = app('rabbitmq.queue')->connection('rabbitmq');
$stringInput = json_encode(array);
$response = RabbitMQ::declareRPCClient($this->rabbit, 'name_of_queue', $stringInput);

```

\####Server Worker Queue service

```
$this->rabbit = app('rabbitmq.queue')->connection('rabbitmq');
RabbitMQ::declareWorkerQueueServer($this->rabbit, 'name_of_queue', function ($request) {
    RabbitMQ::declareAck($request);
});

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

Every ~6 days

Total

3

Last Release

1665d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

rabbitmq

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2752.3M7](/packages/bschmitt-laravel-amqp)[mookofe/tail

RabbitMQ and PHP client for Laravel and Lumen that allows you to add and listen queues messages just simple

5552.5k](/packages/mookofe-tail)[vinelab/bowler

A Rabbitmq wrapper for Laravel

4659.7k1](/packages/vinelab-bowler)[convenia/pigeon

3233.0k](/packages/convenia-pigeon)[sobirjonovs/laravel-rabbit

Easy tool for working with RabbitMQ

111.6k](/packages/sobirjonovs-laravel-rabbit)

PHPackages © 2026

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