PHPackages                             odolbeau/amqp-service-provider - 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. odolbeau/amqp-service-provider

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

odolbeau/amqp-service-provider
==============================

AMQP Service Provider for Pimple

v1.0.1(11y ago)163MITPHPPHP &gt;=5.3.3

Since Aug 26Pushed 11y ago1 watchersCompare

[ Source](https://github.com/odolbeau/amqp-service-provider)[ Packagist](https://packagist.org/packages/odolbeau/amqp-service-provider)[ RSS](/packages/odolbeau-amqp-service-provider/feed)WikiDiscussions master Synced 2d ago

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

AMQP Service provider for Pimple
================================

[](#amqp-service-provider-for-pimple)

[![Build Status](https://camo.githubusercontent.com/504ef8753ab26a22d31efda2932ae4462c2e56c7ae4dd938b01495b279f73701/68747470733a2f2f7472617669732d63692e6f72672f6f646f6c626561752f616d71702d736572766963652d70726f76696465722e706e67)](https://travis-ci.org/odolbeau/amqp-service-provider)

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

[](#installation)

The recommended way to install this bundle is through [Composer](http://getcomposer.org/). Require the `odolbeau/amqp-service-provider` package into your `composer.json` file:

```
{
    "require": {
        "odolbeau/amqp-service-provider": "@stable"
    }
}
```

**Protip:** you should browse the [`odolbeau/amqp-service-provider`](https://packagist.org/packages/odolbeau/amqp-service-provider)page to choose a stable version to use, avoid the `@stable` meta constraint.

Usage
-----

[](#usage)

Register the service provider ([see doc for more informations](http://pimple.sensiolabs.org/#extending-a-container)).

```
use Pimple\Container;
use Bab\Provider\AMQPServiceProvider;

// Create a new container
$container = new Container();

// Add some configuration
$container['amqp.options'] = [
    'connections' => [
        'conn1' => [
            'host' => '127.0.0.1',
            'port' => 5672,
            'login' => 'guest',
            'password' => 'guest',
            'vhost' => '/',
        ],
        'conn2' => [
            'host' => '127.0.0.1',
            'port' => 5672,
            'login' => 'guest',
            'password' => 'guest',
            'vhost' => 'another_vhost',
        ]
    ]
];

// Register the service provider
$container->register(new AMQPServiceProvider());
```

You can now retrieve queues and / or exchanges like this :

```
// To get a queue
$container['queue.factory']('queueName', 'conn1');
// To get an exchange
$container['exchange.factory']('queueName', 'conn2');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

4273d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6662493c184b0ed32978349f4162cac376a2e1026c7f3a06cf1a9565867ecf15?d=identicon)[odolbeau](/maintainers/odolbeau)

---

Top Contributors

[![odolbeau](https://avatars.githubusercontent.com/u/680206?v=4)](https://github.com/odolbeau "odolbeau (5 commits)")

---

Tags

providerAMQPpimple

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/odolbeau-amqp-service-provider/health.svg)

```
[![Health](https://phpackages.com/badges/odolbeau-amqp-service-provider/health.svg)](https://phpackages.com/packages/odolbeau-amqp-service-provider)
```

###  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)[bunny/bunny

Performant pure-PHP AMQP (RabbitMQ) non-blocking ReactPHP library

7426.5M37](/packages/bunny-bunny)[enqueue/enqueue-bundle

Message Queue Bundle

27615.6M38](/packages/enqueue-enqueue-bundle)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[swarrot/swarrot

A simple lib to consume RabbitMQ queues

3654.4M8](/packages/swarrot-swarrot)[enqueue/amqp-tools

Message Queue Amqp Tools

14721.1M12](/packages/enqueue-amqp-tools)

PHPackages © 2026

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