Skip to content

Files

Latest commit

5436636 · Mar 20, 2019

History

History
This branch is 440 commits behind rabbitmq/rabbitmq-tutorials:main.

php-interop

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 20, 2019
Aug 16, 2017
Aug 16, 2017
Aug 16, 2017
Aug 16, 2017
Aug 16, 2017
Aug 16, 2017
Aug 16, 2017
Aug 16, 2017
Aug 16, 2017
Aug 16, 2017
Aug 16, 2017
Aug 16, 2017

RabbitMQ tutorials ported to PHP's queue-interop

This is a PHP tutorial port to the queue-interop family of libraries. These examples will work with any interop-compatible transport such as enqueue/amqp-ext, enqueue/amqp-bunny, or enqueue/amqp-lib.

Requirements

As with other ports, to run the tutorials you'd need a RabbitMQ node started on localhost with all defaults.

PHP 5.5+

You need PHP 5.5 and one of the queue-interop compatible transport libraries.

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