PHPackages                             ingresse/message-queue-php - 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. ingresse/message-queue-php

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

ingresse/message-queue-php
==========================

Message Queue php library to publish and subscribe to queues with diferent types of adapters

1.8.0(8y ago)33.9k1[1 PRs](https://github.com/ingresse/message-queue-php/pulls)MITPHP

Since Apr 4Pushed 1y ago29 watchersCompare

[ Source](https://github.com/ingresse/message-queue-php)[ Packagist](https://packagist.org/packages/ingresse/message-queue-php)[ Docs](https://github.com/ingresse/message-queue-php)[ RSS](/packages/ingresse-message-queue-php/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (10)Dependencies (3)Versions (15)Used By (0)

\##Message Queue php library to publish and subscribe to queues with diferent types of adapters.

\##Current supported adapters:

- [RabbitMQ - AMQP 0.9.1](https://www.rabbitmq.com/tutorials/amqp-concepts.html)

\##Installation

With Composer Add ingresse/message-queue-php as dependency in composer.json

```
    "require": {
        ...
        "ingresse/message-queue-php" : "1.*"
        ...
    }
```

Run composer update.

Now the message-queue-php will be autoloaded into your project.

```
    require 'vendor/autoload.php';

    $configData = [
        'connection' => [
            'host' => 'localhost',
            'port' => 5672,
            'user' => 'guest',
            'pass' => 'guest',
            'vhost' => '/'
        ],
        'queues' => [
            'worker.test' => [
                'passive' => false,
                'durable' => true,
                'exclusive' => false,
                'autoDelete' => false,
                'delivery_mode' => 2
            ]
        ],
        'exchanges' => [
            'exchange.test' => [
                'type' => 'fanout'
                'passive' => false,
                'durable' => true,
                'auto_delete' => false,
                'internal' => false,
                'nowait' => false,
                'arguments' => false,
                'ticket' => false,
                'delivery_mode' => 2
            ]
        ],
        'consume' => [
            'Simpler' => [
                'noLocal' => false,
                'noAck' => false,
                'exclusive' => false,
                'noWait' => false
            ]
        ],
        'logger' => [
            'host' => 'localhost',
            'port' => 6379,
            'key' => 'logstash',
            'channel' => 'message-queue-php'
            path' => '/var/log/message-queue-php.log'
        ]
    ];

    $config = new MessageQueuePHP\Config\AMQPConfig($configData);
    $amqpAdapter = new MessageQueuePHP\Adapter\AMQPAdapter($config);

    $myPublisher = new MessageQueuePHP\Publisher\Publisher($amqpAdapter, 'worker.test');
    $myPublisher
            ->setMessage($myData)
            ->send();

    $subscriber = new MessageQueuePHP\Subscriber\Subscriber($amqpAdapter);
    $simplerConsumer = new MessageQueuePHP\Subscriber\Consumer\SimplerConsumer;
    $subscriber
       ->setConsumer($simplerConsumer)
       ->subscribe('worker.test')
       ->consume();
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 64.3% 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 ~70 days

Recently: every ~156 days

Total

12

Last Release

2920d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1154577?v=4)[Hugo Campos](/maintainers/hugofcampos)[@hugofcampos](https://github.com/hugofcampos)

![](https://www.gravatar.com/avatar/9641c2b93cc07cc4f461350d1530b82e26e8a70760c6b4ff3fdd7221f729d3d0?d=identicon)[fdiasdev](/maintainers/fdiasdev)

---

Top Contributors

[![Taffarel](https://avatars.githubusercontent.com/u/487235?v=4)](https://github.com/Taffarel "Taffarel (18 commits)")[![JonasSFreire](https://avatars.githubusercontent.com/u/11475343?v=4)](https://github.com/JonasSFreire "JonasSFreire (6 commits)")[![hugofcampos](https://avatars.githubusercontent.com/u/1154577?v=4)](https://github.com/hugofcampos "hugofcampos (3 commits)")[![Corcioli](https://avatars.githubusercontent.com/u/1126698?v=4)](https://github.com/Corcioli "Corcioli (1 commits)")

---

Tags

backendqueueAMQPpubsub

### Embed Badge

![Health badge](/badges/ingresse-message-queue-php/health.svg)

```
[![Health](https://phpackages.com/badges/ingresse-message-queue-php/health.svg)](https://phpackages.com/packages/ingresse-message-queue-php)
```

###  Alternatives

[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)[nuwber/rabbitevents

The Nuwber RabbitEvents package

120515.8k3](/packages/nuwber-rabbitevents)[kdyby/rabbitmq

Integrates php-amqplib with RabbitMq and Nette Framework

30693.1k4](/packages/kdyby-rabbitmq)

PHPackages © 2026

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