rabbitmq-tutorials/php-interop
2017-08-16 12:21:40 +03:00
..
emit_log_direct.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
emit_log_topic.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
emit_log.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
new_task.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
README.md Amqp interop based transports. 2017-08-16 12:21:40 +03:00
receive_logs_direct.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
receive_logs_topic.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
receive_logs.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
receive.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
rpc_client.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
rpc_server.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
send.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00
worker.php Amqp interop based transports. 2017-08-16 12:21:40 +03:00

PHP code for RabbitMQ tutorials based on AMQP interop

Here you can find PHP code examples from RabbitMQ tutorials adopted to amqp interop These examples will work with any amqp interop compatible transports such as enqueue/amqp-ext, enqueue/amqp-bunny, enqueue/amqp-lib

To successfully use the examples you will need a running RabbitMQ server.

Requirements

PHP 5.5+

You need PHP 5.5 and one of the amqp interop compatible transport.

Composer

Then install Composer per instructions on their site.

Client Library

Then you can, for example, install enqueue/amqp-bunny using Composer.

To do that install Composer and add it to your path, then run the following command inside this project folder:

$ composer require enqueue/amqp-bunny