2017 © Pedro Peláez
 

library php-amqplib-bridge

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

image

calcinai/php-amqplib-bridge

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

  • Tuesday, May 23, 2017
  • by calcinai
  • Repository
  • 1 Watchers
  • 3 Stars
  • 13,115 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 6 Versions
  • 15 % Grown

The README.md

php-amqplib-bridge

Bridge for videlalvaro/php-amqplib to expose classes compatible with PECL::AMQP, (*1)

This library is a polyfill for the PECL::AMQP Extension, using 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., (*2)

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

Setup with Composer

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

Usage

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

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., (*5)

Thanks to @pdezwart for the method stubs, and the contributors to php-amqplib, which is largely what this library is based on., (*6)

The Versions

23/05 2017

dev-master

9999999-dev https://github.com/calcinai/php-amqplib-bridge/

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

  Sources   Download

MIT

The Requires

 

by Michael Calcinai

23/05 2017

v0.1.4

0.1.4.0 https://github.com/calcinai/php-amqplib-bridge/

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

  Sources   Download

MIT

The Requires

 

by Michael Calcinai

31/03 2016

v0.1.3

0.1.3.0 https://github.com/calcinai/php-amqplib-bridge/

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

  Sources   Download

MIT

The Requires

 

by Michael Calcinai

18/09 2015

v0.1.2

0.1.2.0 https://github.com/calcinai/php-amqplib-bridge/

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

  Sources   Download

MIT

The Requires

 

by Michael Calcinai

16/06 2015

v0.1.1

0.1.1.0 https://github.com/calcinai/php-amqplib-bridge/

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

  Sources   Download

MIT

The Requires

 

by Michael Calcinai

07/05 2015

v0.1.0

0.1.0.0 https://github.com/calcinai/php-amqplib-bridge/

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

  Sources   Download

MIT

The Requires

 

by Michael Calcinai