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

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

changyuan/laravel-queue-rabbitmq
================================

RabbitMQ driver for Laravel Queue

5.1(6y ago)03MITPHPPHP &gt;=5.5.9

Since Jul 26Pushed 6y agoCompare

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

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

RabbitMQ Queue driver for Laravel
=================================

[](#rabbitmq-queue-driver-for-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/c4b3c8b126d8cf307b7212fd5d046215116c6dd645e9ad7ef7cbf91ddceaba38/68747470733a2f2f706f7365722e707567782e6f72672f766c6164696d69722d79756c6461736865762f6c61726176656c2d71756575652d7261626269746d712f762f737461626c65)](https://packagist.org/packages/vladimir-yuldashev/laravel-queue-rabbitmq) [![Total Downloads](https://camo.githubusercontent.com/cd2379cc91f01f4e1b105e13ae1df8d94357544673dc3801c5b0c175921df26f/68747470733a2f2f706f7365722e707567782e6f72672f766c6164696d69722d79756c6461736865762f6c61726176656c2d71756575652d7261626269746d712f646f776e6c6f616473)](https://packagist.org/packages/vladimir-yuldashev/laravel-queue-rabbitmq) [![Latest Unstable Version](https://camo.githubusercontent.com/536aa6d15b485b6608d88550b88c273351ae2e2882867deb4c86fb3e56bd781a/68747470733a2f2f706f7365722e707567782e6f72672f766c6164696d69722d79756c6461736865762f6c61726176656c2d71756575652d7261626269746d712f762f756e737461626c65)](https://packagist.org/packages/vladimir-yuldashev/laravel-queue-rabbitmq) [![License](https://camo.githubusercontent.com/9341d746fd848015a277fc0e4cd84fac3d228318f1b871f2797921ea0fe829e3/68747470733a2f2f706f7365722e707567782e6f72672f766c6164696d69722d79756c6461736865762f6c61726176656c2d71756575652d7261626269746d712f6c6963656e7365)](https://packagist.org/packages/vladimir-yuldashev/laravel-queue-rabbitmq)

\####Installation

Require this package in your composer.json and run composer update (IMPORTANT! DO NOT USE "dev-master"):

```
"vladimir-yuldashev/laravel-queue-rabbitmq": "5.1"

```

After composer update is finished you need to add ServiceProvider to your `providers` array in `app.php`:

```
VladimirYuldashev\LaravelQueueRabbitMQ\LaravelQueueRabbitMQServiceProvider::class,

```

Add these lines to your `app/config/queue.php` file to `connections` array:

```
'rabbitmq' => [
	'driver'          		=> 'rabbitmq',

	'host'            		=> env('RABBITMQ_HOST', '127.0.0.1'),
	'port'            		=> env('RABBITMQ_PORT', 5672),

	'vhost'           		=> env('RABBITMQ_VHOST', '/'),
	'login'           		=> env('RABBITMQ_LOGIN', 'guest'),
	'password'        		=> env('RABBITMQ_PASSWORD', 'guest'),

	'queue'           		=> env('RABBITMQ_QUEUE'), // name of the default queue,

	'exchange_declare' 		=> env('RABBITMQ_EXCHANGE_DECLARE', true), // create the exchange if not exists
	'queue_declare_bind' 	=> env('RABBITMQ_QUEUE_DECLARE_BIND', true), // create the queue if not exists and bind to the exchange

	'queue_params'    		=> [
		'passive'     		=> env('RABBITMQ_QUEUE_PASSIVE', false),
		'durable'     		=> env('RABBITMQ_QUEUE_DURABLE', true),
		'exclusive'   		=> env('RABBITMQ_QUEUE_EXCLUSIVE', false),
		'auto_delete' 		=> env('RABBITMQ_QUEUE_AUTODELETE', false),
	],

	'exchange_params' 		=> [
		'type'        		=> env('RABBITMQ_EXCHANGE_TYPE', 'direct'), // more info at http://www.rabbitmq.com/tutorials/amqp-concepts.html
		'passive'     		=> env('RABBITMQ_EXCHANGE_PASSIVE', false),
		'durable'     		=> env('RABBITMQ_EXCHANGE_DURABLE', true), // the exchange will survive server restarts
		'auto_delete' 		=> env('RABBITMQ_EXCHANGE_AUTODELETE', false),
	],

],

```

And add these properties to `.env` with proper values:

```
QUEUE_DRIVER=rabbitmq

RABBITMQ_HOST=127.0.0.1
RABBITMQ_PORT=5672
RABBITMQ_VHOST=/
RABBITMQ_LOGIN=guest
RABBITMQ_PASSWORD=guest
RABBITMQ_QUEUE=queue_name

```

You can also find full examples in src/examples folder.

\####Usage Once you completed the configuration you can use Laravel Queue API. If you used other queue drivers you do not need to change anything else. If you do not know how to use Queue API, please refer to the official Laravel documentation:

\####PHPUnit Unit tests will be provided soon.

\####Contribution You can contribute to this package by discovering bugs and opening issues. Enjoy!

\####Supported versions of Laravel 4.0, 4.1, 4.2, 5.0, 5.1 The version is being matched by the release tag of this library.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

2482d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cea5724a7121896b8a8aa94ee35e22f3aceae66f68fafa5a78093d5d51e3143?d=identicon)[changyuan](/maintainers/changyuan)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2752.3M7](/packages/bschmitt-laravel-amqp)[palpalani/laravel-sqs-queue-json-reader

Custom SQS queue reader for Laravel

26109.8k](/packages/palpalani-laravel-sqs-queue-json-reader)

PHPackages © 2026

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