PHPackages                             forumhouseteam/laravel-amqp - 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. forumhouseteam/laravel-amqp

Abandoned → [fhteam/laravel-amqp](/?search=fhteam%2Flaravel-amqp)Library[Queues &amp; Workers](/categories/queues)

forumhouseteam/laravel-amqp
===========================

AMQP library driver for Laravel Queue

v3.1.1(6y ago)2820812[2 issues](https://github.com/fhteam/laravel-amqp/issues)GPL-2.0PHPPHP &gt;=7.1

Since Nov 5Pushed 6y ago8 watchersCompare

[ Source](https://github.com/fhteam/laravel-amqp)[ Packagist](https://packagist.org/packages/forumhouseteam/laravel-amqp)[ RSS](/packages/forumhouseteam-laravel-amqp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (16)Used By (0)

laravel-amqp [![PHP version](https://camo.githubusercontent.com/d9b4c77b09d6fbc3cc03b82cffa67d66c4d445cd75a6218b8c0e1bc35ccd04c2/68747470733a2f2f62616467652e667572792e696f2f70682f66687465616d2532466c61726176656c2d616d71702e737667)](http://badge.fury.io/ph/fhteam%2Flaravel-amqp) [![Code Climate](https://camo.githubusercontent.com/7540ae9b39d2e58a7867d57656326b7425cf5a99302e18973c4a5af812436b7b/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f666f72756d686f7573657465616d2f6c61726176656c2d616d71702f6261646765732f6770612e737667)](https://codeclimate.com/github/forumhouseteam/laravel-amqp) [![Laravel compatibility](https://camo.githubusercontent.com/dd58f710d3d14da6be76abb20b755b14fff099d7cca04f25d16292a4a97e1df4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d352d677265656e2e737667)](http://laravel.com/)
==================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#laravel-amqp---)

AMQP driver for Laravel queue. This driver uses popular AMQPLib for PHP: (This library is a pure PHP implementation of the AMQP protocol so it may be used to connect to a number of queue managers around)

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

[](#installation)

*Please do note, that package name has changed to fhteam/laravel-amqp.* Old name should still work, though it will not be maintained.

- Simple composer installation is ok: `composer require fhteam/laravel-amqp:~1.0 `(set version requirement to your favourite)
- Note, that mbstring and bcmath extensions are required for php-amqplib to work properly. The first is not yet listed in library's composer.json ([php-amqplib/php-amqplib#229](https://github.com/php-amqplib/php-amqplib/issues/229))

Configuration
-------------

[](#configuration)

In your `config/queue.php` file you have to provide the following:

```
'default' => 'amqp',

'connections' => array(
    'amqp' => array(
        'driver' => 'amqp',
        'host' => 'localhost',
        'port' => '5672',
        'user' => 'guest',
        'password' => 'guest',
        'vhost' => '/',
        'queue' => null,
        'queue_flags' => ['durable' => true, 'routing_key' => null], //Durable queue (survives server crash)
        'declare_queues' => true, //If we need to declare queues each time before sending a message. If not, you will have to declare them manually elsewhere
        'message_properties' => ['delivery_mode' => 2], //Persistent messages (survives server crash)
        'channel_id' => null,
        'exchange_name' => null,
        'exchange_type' => null,
        'exchange_flags' => null,
        'keepalive' > false,
        'heartbeat' => 0,
        'retry_after' => 0,
        ),
),
```

In your `config/app.php` add `'Forumhouse\LaravelAmqp\ServiceProvider\LaravelAmqpServiceProvider'` to the list of service providers registered.

Improved worker stability (PHP 7.1+ is required)
------------------------------------------------

[](#improved-worker-stability-php-71-is-required)

For better stability please add following code in app/Exceptions/Handler.php:

```
class Handler extends ExceptionHandler
{
```

to

```
class Handler extends ExceptionHandler
{
    use AMQPFailureDetector;
```

And

```
public function report(Exception $exception)
{
    parent::report($exception);
}
```

to

```
public function report(Exception $exception)
{
    $this->catchAMQPConnectionFailure($exception);
    parent::report($exception);
}
```

Usage
-----

[](#usage)

To find out how to use Laravel Queues, please refer to the following official documentation:

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~386 days

Total

14

Last Release

2513d ago

Major Versions

v1.2.1 → v2.0.02015-04-01

v2.0.1 → v3.0.02017-06-01

PHP version history (2 changes)v1.0.0PHP &gt;=5.4.0

v3.1.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/58b0dff9b71ea9cbee66a5995bebcc3d4fa429f603e2e515e56f929a67610f1e?d=identicon)[matyunin](/maintainers/matyunin)

![](https://www.gravatar.com/avatar/03352d49df0742377af31a8a2a838bb13f7b129bd1986dcfb92fd49b52de4c6f?d=identicon)[forumhouse](/maintainers/forumhouse)

---

Top Contributors

[![FractalizeR](https://avatars.githubusercontent.com/u/318489?v=4)](https://github.com/FractalizeR "FractalizeR (38 commits)")[![martianoff](https://avatars.githubusercontent.com/u/7222812?v=4)](https://github.com/martianoff "martianoff (17 commits)")[![matyunin](https://avatars.githubusercontent.com/u/1249544?v=4)](https://github.com/matyunin "matyunin (8 commits)")[![abachmann](https://avatars.githubusercontent.com/u/3432758?v=4)](https://github.com/abachmann "abachmann (6 commits)")[![milsanore](https://avatars.githubusercontent.com/u/8180435?v=4)](https://github.com/milsanore "milsanore (3 commits)")[![god1dog](https://avatars.githubusercontent.com/u/5496458?v=4)](https://github.com/god1dog "god1dog (3 commits)")[![ruslanstarikov](https://avatars.githubusercontent.com/u/20692689?v=4)](https://github.com/ruslanstarikov "ruslanstarikov (1 commits)")[![dmitry-udod](https://avatars.githubusercontent.com/u/4639175?v=4)](https://github.com/dmitry-udod "dmitry-udod (1 commits)")[![ldebrouwer](https://avatars.githubusercontent.com/u/913410?v=4)](https://github.com/ldebrouwer "ldebrouwer (1 commits)")

---

Tags

amqp-driveramqplibdriverlaravel-amqplaravel-queuesphp

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/forumhouseteam-laravel-amqp/health.svg)

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

###  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.1M65](/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)
