2017 © Pedro PelĂĄez
 

library php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

image

php-amqplib/php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  • Wednesday, May 16, 2018
  • by videlalvaro
  • Repository
  • 162 Watchers
  • 2299 Stars
  • 9,542,605 Installations
  • PHP
  • 322 Dependents
  • 52 Suggesters
  • 663 Forks
  • 55 Open issues
  • 37 Versions
  • 12 % Grown

The README.md

php-amqplib

PHPUnit tests Latest Version on Packagist Total Downloads ![Software License][ico-license], (*1)

codecov Coverage Status ![Quality Score][ico-code-quality], (*2)

This library is a pure PHP implementation of the AMQP 0-9-1 protocol. It's been tested against RabbitMQ., (*3)

The library was used for the PHP examples of RabbitMQ in Action and the official RabbitMQ tutorials., (*4)

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms., (*5)

Project Maintainers

Thanks to videlalvaro and postalservice14 for creating php-amqplib., (*6)

The package is now maintained by Ramƫnas Dronga, Luke Bakken and several VMware engineers working on RabbitMQ., (*7)

Supported RabbitMQ Versions

Starting with version 2.0 this library uses AMQP 0.9.1 by default and thus requires RabbitMQ 2.0 or later version. Usually server upgrades do not require any application code changes since the protocol changes very infrequently but please conduct your own testing before upgrading., (*8)

Supported RabbitMQ Extensions

Since the library uses AMQP 0.9.1 we added support for the following RabbitMQ extensions:, (*9)

  • Exchange to Exchange Bindings
  • Basic Nack
  • Publisher Confirms
  • Consumer Cancel Notify

Extensions that modify existing methods like alternate exchanges are also supported., (*10)

  • enqueue/amqp-lib is a amqp interop compatible wrapper., (*11)

  • AMQProxy is a proxy library with connection and channel pooling/reusing. This allows for lower connection and channel churn when using php-amqplib, leading to less CPU usage of RabbitMQ., (*12)

Setup

Ensure you have composer installed, then run the following command:, (*13)

$ composer require php-amqplib/php-amqplib

That will fetch the library and its dependencies inside your vendor folder. Then you can add the following to your .php files in order to use the library, (*14)

require_once __DIR__.'/vendor/autoload.php';

Then you need to use the relevant classes, for example:, (*15)

use PhpAmqpLib\Connection\AMQPStreamConnection;
use PhpAmqpLib\Message\AMQPMessage;

Usage

With RabbitMQ running open two Terminals and on the first one execute the following commands to start the consumer:, (*16)

$ cd php-amqplib/demo
$ php amqp_consumer.php

Then on the other Terminal do:, (*17)

$ cd php-amqplib/demo
$ php amqp_publisher.php some text to publish

You should see the message arriving to the process on the other Terminal, (*18)

Then to stop the consumer, send to it the quit message:, (*19)

$ php amqp_publisher.php quit

If you need to listen to the sockets used to connect to RabbitMQ then see the example in the non blocking consumer., (*20)

$ php amqp_consumer_non_blocking.php

Change log

Please see CHANGELOG for more information what has changed recently., (*21)

API Documentation

http://php-amqplib.github.io/php-amqplib/, (*22)

Tutorials

To not repeat ourselves, if you want to learn more about this library, please refer to the official RabbitMQ tutorials., (*23)

More Examples

  • amqp_ha_consumer.php: demos the use of mirrored queues.
  • amqp_consumer_exclusive.php and amqp_publisher_exclusive.php: demos fanout exchanges using exclusive queues.
  • amqp_consumer_fanout_{1,2}.php and amqp_publisher_fanout.php: demos fanout exchanges with named queues.
  • amqp_consumer_pcntl_heartbeat.php: demos signal-based heartbeat sender usage.
  • basic_get.php: demos obtaining messages from the queues by using the basic get AMQP call.

Multiple hosts connections

If you have a cluster of multiple nodes to which your application can connect, you can start a connection with an array of hosts. To do that you should use the create_connection static method., (*24)

For example:, (*25)

$connection = AMQPStreamConnection::create_connection([
    ['host' => HOST1, 'port' => PORT, 'user' => USER, 'password' => PASS, 'vhost' => VHOST],
    ['host' => HOST2, 'port' => PORT, 'user' => USER, 'password' => PASS, 'vhost' => VHOST]
],
$options);

This code will try to connect to HOST1 first, and connect to HOST2 if the first connection fails. The method returns a connection object for the first successful connection. Should all connections fail it will throw the exception from the last connection attempt., (*26)

See demo/amqp_connect_multiple_hosts.php for more examples., (*27)

Batch Publishing

Let's say you have a process that generates a bunch of messages that are going to be published to the same exchange using the same routing_key and options like mandatory. Then you could make use of the batch_basic_publish library feature. You can batch messages like this:, (*28)

$msg = new AMQPMessage($msg_body);
$ch->batch_basic_publish($msg, $exchange);

$msg2 = new AMQPMessage($msg_body);
$ch->batch_basic_publish($msg2, $exchange);

and then send the batch like this:, (*29)

$ch->publish_batch();

When do we publish the message batch?

Let's say our program needs to read from a file and then publish one message per line. Depending on the message size, you will have to decide when it's better to send the batch. You could send it every 50 messages, or every hundred. That's up to you., (*30)

Optimized Message Publishing

Another way to speed up your message publishing is by reusing the AMQPMessage message instances. You can create your new message like this:, (*31)

$properties = array('content_type' => 'text/plain', 'delivery_mode' => AMQPMessage::DELIVERY_MODE_PERSISTENT);
$msg = new AMQPMessage($body, $properties);
$ch->basic_publish($msg, $exchange);

Now let's say that while you want to change the message body for future messages, you will keep the same properties, that is, your messages will still be text/plain and the delivery_mode will still be AMQPMessage::DELIVERY_MODE_PERSISTENT. If you create a new AMQPMessage instance for every published message, then those properties would have to be re-encoded in the AMQP binary format. You could avoid all that by just reusing the AMQPMessage and then resetting the message body like this:, (*32)

$msg->setBody($body2);
$ch->basic_publish($msg, $exchange);

Truncating Large Messages

AMQP imposes no limit on the size of messages; if a very large message is received by a consumer, PHP's memory limit may be reached within the library before the callback passed to basic_consume is called., (*33)

To avoid this, you can call the method AMQPChannel::setBodySizeLimit(int $bytes) on your Channel instance. Body sizes exceeding this limit will be truncated, and delivered to your callback with a AMQPMessage::$is_truncated flag set to true. The property AMQPMessage::$body_size will reflect the true body size of a received message, which will be higher than strlen(AMQPMessage::getBody()) if the message has been truncated., (*34)

Note that all data above the limit is read from the AMQP Channel and immediately discarded, so there is no way to retrieve it within your callback. If you have another consumer which can handle messages with larger payloads, you can use basic_reject or basic_nack to tell the server (which still has a complete copy) to forward it to a Dead Letter Exchange., (*35)

By default, no truncation will occur. To disable truncation on a Channel that has had it enabled, pass 0 (or null) to AMQPChannel::setBodySizeLimit()., (*36)

Connection recovery

Some RabbitMQ clients using automated connection recovery mechanisms to reconnect and recover channels and consumers in case of network errors., (*37)

Since this client is using a single-thread, you can set up connection recovery using exception handling mechanism., (*38)

Exceptions which might be thrown in case of connection errors:, (*39)

PhpAmqpLib\Exception\AMQPConnectionClosedException
PhpAmqpLib\Exception\AMQPIOException
\RuntimeException
\ErrorException

Some other exceptions might be thrown, but connection can still be there. It's always a good idea to clean up an old connection when handling an exception before reconnecting., (*40)

For example, if you want to set up a recovering connection:, (*41)

$connection = null;
$channel = null;
while(true){
    try {
        $connection = new AMQPStreamConnection(HOST, PORT, USER, PASS, VHOST);
        // Your application code goes here.
        do_something_with_connection($connection);
    } catch(AMQPRuntimeException $e) {
        echo $e->getMessage();
        cleanup_connection($connection);
        usleep(WAIT_BEFORE_RECONNECT_uS);
    } catch(\RuntimeException $e) {
        cleanup_connection($connection);
        usleep(WAIT_BEFORE_RECONNECT_uS);
    } catch(\ErrorException $e) {
        cleanup_connection($connection);
        usleep(WAIT_BEFORE_RECONNECT_uS);
    }
}

A full example is in demo/connection_recovery_consume.php., (*42)

This code will reconnect and retry the application code every time the exception occurs. Some exceptions can still be thrown and should not be handled as a part of reconnection process, because they might be application errors., (*43)

This approach makes sense mostly for consumer applications, producers will require some additional application code to avoid publishing the same message multiple times., (*44)

This was a simplest example, in a real-life application you might want to control retr count and maybe gracefully degrade wait time to reconnection., (*45)

You can find a more excessive example in #444, (*46)

UNIX Signals

If you have installed PCNTL extension dispatching of signal will be handled when consumer is not processing message., (*47)

$pcntlHandler = function ($signal) {
    switch ($signal) {
        case \SIGTERM:
        case \SIGUSR1:
        case \SIGINT:
            // some stuff before stop consumer e.g. delete lock etc
            pcntl_signal($signal, SIG_DFL); // restore handler
            posix_kill(posix_getpid(), $signal); // kill self with signal, see https://www.cons.org/cracauer/sigint.html
        case \SIGHUP:
            // some stuff to restart consumer
            break;
        default:
            // do nothing
    }
};

pcntl_signal(\SIGTERM, $pcntlHandler);
pcntl_signal(\SIGINT,  $pcntlHandler);
pcntl_signal(\SIGUSR1, $pcntlHandler);
pcntl_signal(\SIGHUP,  $pcntlHandler);

To disable this feature just define constant AMQP_WITHOUT_SIGNALS as true, (*48)

register();
... code
$sender->unregister();

```

## Debugging ##

If you want to know what's going on at a protocol level then add the following constant to your code:

```php

Benchmarks

To run the publishing/consume benchmark type:, (*49)

$ make benchmark

Tests and Contributing

Please see CONTRIBUTING for details., (*50)

Using AMQP 0.8

If you still want to use the old version of the protocol then you can do it by setting the following constant in your configuration code:, (*51)

define('AMQP_PROTOCOL', '0.8');

The default value is '0.9.1'., (*52)

Providing your own autoloader

If for some reason you don't want to use composer, then you need to have an autoloader in place fo the library classes. People have reported to use this autoloader with success., (*53)

Original README:

Below is the original README file content. Credits goes to the original authors., (*54)

PHP library implementing Advanced Message Queuing Protocol (AMQP)., (*55)

The library is port of python code of py-amqplib http://barryp.org/software/py-amqplib/, (*56)

It have been tested with RabbitMQ server., (*57)

Project home page: http://code.google.com/p/php-amqplib/, (*58)

For discussion, please join the group:, (*59)

http://groups.google.com/group/php-amqplib-devel, (*60)

For bug reports, please use bug tracking system at the project page., (*61)

Patches are very welcome!, (*62)

Author: Vadim Zaliva lord@crocodile.org, (*63)

The Versions

16/05 2018

dev-php-amqplib-555

dev-php-amqplib-555 https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1-or-later

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

23/04 2018

dev-master

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

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1 LGPL-2.1-or-later

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

20/04 2018

dev-connect-to-multiple-hosts

dev-connect-to-multiple-hosts https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1-or-later

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

17/04 2018

dev-throw-exception-on-missed-heartbeat

dev-throw-exception-on-missed-heartbeat https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1-or-later

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

11/02 2018

v2.7.2

2.7.2.0 https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1-or-later

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

01/02 2018

v2.7.1

2.7.1.0 https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1-or-later

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

31/01 2018

dev-php-amqplib-public-getio

dev-php-amqplib-public-getio https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1-or-later

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

29/01 2018

v2.7.1-rc2

2.7.1.0-RC2 https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1-or-later

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

18/01 2018

v2.7.1-rc1

2.7.1.0-RC1 https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

04/08 2017

v2.7.0

2.7.0.0 https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

23/05 2017

v2.7.0-rc1

2.7.0.0-RC1 https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

02/02 2017

dev-revert-460-HHVM-compat-bugfix

dev-revert-460-HHVM-compat-bugfix https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

11/04 2016

v2.6.3

2.6.3.0 https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

02/03 2016

v2.6.2

2.6.2.0 https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

21/02 2016

dev-channel_connection_closed

dev-channel_connection_closed https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

12/02 2016

v2.6.1

2.6.1.0 https://github.com/php-amqplib/php-amqplib/

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

by RaĂșl Araya

rabbitmq queue message

23/09 2015

v2.6.0

2.6.0.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

rabbitmq queue message

11/08 2015

v2.5.2

2.5.2.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

rabbitmq queue message

16/06 2015

v2.5.1

2.5.1.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

rabbitmq queue message

18/02 2015

v2.5.0

2.5.0.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *
  • ext-mbstring *

 

The Development Requires

rabbitmq queue message

06/10 2014

v2.4.1

2.4.1.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

The Development Requires

rabbitmq queue message

21/06 2014

v2.4.0

2.4.0.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

The Development Requires

rabbitmq queue message

06/05 2014

v2.3.0

2.3.0.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

The Development Requires

rabbitmq queue message

22/12 2013

v2.2.6

2.2.6.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

The Development Requires

rabbitmq queue message

13/12 2013

v2.2.5

2.2.5.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

The Development Requires

rabbitmq queue message

02/12 2013

v2.2.4

2.2.4.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

The Development Requires

rabbitmq queue message

28/11 2013

v2.2.3

2.2.3.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

The Development Requires

rabbitmq queue message

04/10 2013

v2.2.2

2.2.2.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

The Development Requires

rabbitmq queue message

03/10 2013

v2.2.1

2.2.1.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

The Development Requires

rabbitmq queue message

02/10 2013

v2.2.0

2.2.0.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

The Development Requires

rabbitmq queue message

17/06 2013

v2.1.0

2.1.0.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0
  • ext-bcmath *

 

rabbitmq queue message

13/02 2013

v2.0.2

2.0.2.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0

 

rabbitmq queue message

27/01 2013

v2.0.1

2.0.1.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0

 

rabbitmq queue message

17/01 2013

v2.0.0

2.0.0.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

The Requires

  • php >=5.3.0

 

rabbitmq queue message

15/01 2013

v1.2.1

1.2.1.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

The Requires

  • php >=5.3.0

 

rabbitmq queue message

15/01 2013

v1.2.0

1.2.0.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

The Requires

  • php >=5.3.0

 

rabbitmq queue message

12/01 2013

v1.1

1.1.0.0 https://github.com/videlalvaro/php-amqplib/

This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

  Sources   Download

The Requires

  • php >=5.3.0

 

rabbitmq queue message