PHPackages                             calcinai/php-amqplib-bridge - 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. calcinai/php-amqplib-bridge

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

calcinai/php-amqplib-bridge
===========================

Bridge for videlalvaro/php-amqplib to expose classes compatible with PECL::AMQP

v0.1.4(8y ago)495.9k↓28.6%5[1 issues](https://github.com/calcinai/php-amqplib-bridge/issues)1MITPHP

Since May 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/calcinai/php-amqplib-bridge)[ Packagist](https://packagist.org/packages/calcinai/php-amqplib-bridge)[ Docs](https://github.com/calcinai/php-amqplib-bridge/)[ RSS](/packages/calcinai-php-amqplib-bridge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (1)

php-amqplib-bridge
==================

[](#php-amqplib-bridge)

Bridge for videlalvaro/php-amqplib to expose classes compatible with PECL::AMQP

This library is a polyfill for the [PECL::AMQP Extension](http://php.net/manual/pl/book.amqp.php), using [php-amqplib](https://github.com/videlalvaro/php-amqplib). The PECL extension is much faster than the php implemention, from what I understand, this is due to PHP's `stream_socket_client()`. This library enables you to develop/deploy on systems regardless of whether the extension is available. If the native extension is available, it will transparently be used instead of this bridge.

As a bonus, this library will provide type hints/code completion to your IDE (for the PECL extension) if it supports it.

Setup with Composer
-------------------

[](#setup-with-composer)

```
{
  "require": {
      "calcinai/php-amqplib-bridge": "0.1.*"
  }
}

```

Usage
-----

[](#usage)

All classes, functions and exceptions should be equivelent to the native ones. Patches are welcome for any inconsistencies.

Examples
--------

[](#examples)

Unfortunately the documentation for the PECL extension is quite poor, but with a reasonable understanding of AMQP, you should be able to feel your way around. There are some usage examples on the (Polish?) [man pages](http://php.net/manual/pl/book.amqp.php).

Thanks to [@pdezwart](https://github.com/pdezwart) for the method stubs, and [the contributors](https://github.com/videlalvaro/php-amqplib/graphs/contributors) to php-amqplib, which is largely what this library is based on.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~186 days

Total

5

Last Release

3283d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2415868?v=4)[Michael Calcinai](/maintainers/calcinai)[@calcinai](https://github.com/calcinai)

---

Top Contributors

[![calcinai](https://avatars.githubusercontent.com/u/2415868?v=4)](https://github.com/calcinai "calcinai (27 commits)")[![cdatculescu](https://avatars.githubusercontent.com/u/7501067?v=4)](https://github.com/cdatculescu "cdatculescu (2 commits)")[![mattrenner](https://avatars.githubusercontent.com/u/1264226?v=4)](https://github.com/mattrenner "mattrenner (1 commits)")

### Embed Badge

![Health badge](/badges/calcinai-php-amqplib-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/calcinai-php-amqplib-bridge/health.svg)](https://phpackages.com/packages/calcinai-php-amqplib-bridge)
```

###  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)
