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

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

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

RabbitMQ driver for Laravel Queue

1.1.1(10y ago)2456[2 issues](https://github.com/shaobaojie/laravel_rabbit_mq/issues)MITPHPPHP &gt;=5.5.9

Since Jul 6Pushed 10y ago2 watchersCompare

[ Source](https://github.com/shaobaojie/laravel_rabbit_mq)[ Packagist](https://packagist.org/packages/queue-rabbitmq/laravel-queue-rabbitmq)[ RSS](/packages/queue-rabbitmq-laravel-queue-rabbitmq/feed)WikiDiscussions master Synced 2w ago

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"):-

```
"queue-rabbitmq/laravel-queue-rabbitmq": "1.1.0"

```

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

```
RabbitMQ\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' => [
		'name'        => env('RABBITMQ_EXCHANGE_NAME', null),
		'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, 5.2 The version is being matched by the release tag of this library.

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

2

Last Release

3688d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8967159?v=4)[shaobaojie](/maintainers/shaobaojie)[@shaobaojie](https://github.com/shaobaojie)

### Embed Badge

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

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

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k99.8M350](/packages/laravel-horizon)[illuminate/auth

The Illuminate Auth package.

9328.5M1.3k](/packages/illuminate-auth)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.4M234](/packages/illuminate-broadcasting)[illuminate/notifications

The Illuminate Notifications package.

483.1M1.2k](/packages/illuminate-notifications)[fomvasss/laravel-ai-tasks

AI task orchestrator for Laravel: routing, queue, audit, budget, webhooks

381.6k1](/packages/fomvasss-laravel-ai-tasks)[rapidez/core

Rapidez Core

1824.4k80](/packages/rapidez-core)

PHPackages © 2026

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