PHPackages                             laborer-by/laravel-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. laborer-by/laravel-rabbitmq

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

laborer-by/laravel-rabbitmq
===========================

RabbitMQ driver for Laravel.

v1.1.1(5y ago)1172MITPHPPHP &gt;=7.0

Since Mar 3Pushed 5y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (5)Versions (8)Used By (0)

laravel-rabbitmq
================

[](#laravel-rabbitmq)

[![Latest Stable Version](https://camo.githubusercontent.com/2f15dbd2bd042fbd1c4965335c7852ece776e2c79ca4c32a227db988d5f24d05/68747470733a2f2f706f7365722e707567782e6f72672f6c61626f7265722d62792f6c61726176656c2d7261626269746d712f76)](//packagist.org/packages/laborer-by/laravel-rabbitmq) [![Total Downloads](https://camo.githubusercontent.com/fb4a176d1e319074f42debb4f6ebcc3a9d37f4a10291e0293226c7b02abcdf55/68747470733a2f2f706f7365722e707567782e6f72672f6c61626f7265722d62792f6c61726176656c2d7261626269746d712f646f776e6c6f616473)](//packagist.org/packages/laborer-by/laravel-rabbitmq) [![Latest Unstable Version](https://camo.githubusercontent.com/f93318a6ff51e10f454a39e317f8fe3774526cd7dba6ac369c10beebdce39419/68747470733a2f2f706f7365722e707567782e6f72672f6c61626f7265722d62792f6c61726176656c2d7261626269746d712f762f756e737461626c65)](//packagist.org/packages/laborer-by/laravel-rabbitmq) [![License](https://camo.githubusercontent.com/acd3745a969e1f77ac478fc582796473c3d02701b8c6ef0f72a2be8051c5dbdb/68747470733a2f2f706f7365722e707567782e6f72672f6c61626f7265722d62792f6c61726176656c2d7261626269746d712f6c6963656e7365)](//packagist.org/packages/laborer-by/laravel-rabbitmq)

RabbitMQ driver for Laravel.

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

[](#installation)

(1) Install this package via composer using:

```
composer require laborer-by/laravel-rabbitmq
```

(2) Add these properties to `.env` with proper values:

```
;RABBITMQ dev
RABBITMQ_HOST=127.0.0.1
RABBITMQ_PORT=5672
RABBITMQ_USER=guest
RABBITMQ_PASSWORD=guest
RABBITMQ_VHOST=oc

```

(3) Create a table:

```
CREATE TABLE `tmp_rabbitmq_msg` (
  `msg_id` char(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '消息的唯一id',
  `routing_key` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT 'routing_key 消息的路由键',
  `source` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '消息的来源',
  `msg_data` mediumtext COLLATE utf8_unicode_ci NOT NULL COMMENT '消息的主体数据',
  `extra_data` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '额外的数据',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  UNIQUE KEY `index_msg_id` (`msg_id`) USING BTREE,
  KEY `index_routing_key` (`routing_key`) USING BTREE,
  KEY `index_created_at` (`created_at`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='rabbitmq消息表';
```

### Config

[](#config)

Register `LaravelRabbitMQServiceProvider` via config/app.php:

```
'providers' => [
    // others ...

    Laborer\LaravelRabbitMQ\LaravelRabbitMQServiceProvider::class,
],

```

To publish the config file, run the following:

```
php artisan vendor:publish --provider="Laborer\LaravelRabbitMQ\LaravelRabbitMQServiceProvider"

```

Changelog
---------

[](#changelog)

You will find a complete changelog history within the [CHANGELOG](CHANGELOG.md) file.

Testing
-------

[](#testing)

Run tests with PHPUnit:

```
vendor/bin/phpunit
```

OR

```
composer test
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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 ~1 days

Total

7

Last Release

1890d ago

PHP version history (2 changes)v1.0.0PHP ^7.0

v1.0.2PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6bdbf541fd206f0fbd67a94cd035bc9d83ad344a4f0c5897f9e287fdf4308c8?d=identicon)[laborer-by](/maintainers/laborer-by)

---

Top Contributors

[![laborer-by](https://avatars.githubusercontent.com/u/20181004?v=4)](https://github.com/laborer-by "laborer-by (14 commits)")

---

Tags

laravelrabbitmq

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laborer-by-laravel-rabbitmq/health.svg)

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

###  Alternatives

[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2752.3M7](/packages/bschmitt-laravel-amqp)[convenia/pigeon

3233.0k](/packages/convenia-pigeon)[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)[kunalvarma05/laravel-rabbitmq

Work with RabbitMQ in Laravel.

1853.7k](/packages/kunalvarma05-laravel-rabbitmq)[kontoulis/rabbitmq-laravel

RabbitMQ Broker for Laravel

151.2k](/packages/kontoulis-rabbitmq-laravel)

PHPackages © 2026

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