The recommended method of installation is via composer
composer require 'zircote/rhubarb=3.2-dev'
Depending on your selection of connectors you will also need to require or compile the appropriate extension or libraries.
Libraries can be included utilising the composer command
composer require 'predis/predis'
The Official PHP AMQP extension may be found at https://github.com/bkw/pecl-amqp-official as well as stubs and tests.
Installation via pecl
sudo pecl install amqpTo build the ext-amqp from source:
#!/bin/sh git clone https://github.com/alanxz/rabbitmq-c pushd rabbitmq-c git submodule init git submodule update mkdir bin-rabbitmq-c cd bin-rabbitmq-c cmake .. make sudo make install popd git clone https://github.com/bkw/pecl-amqp-official.git pushd pecl-amqp-official phpize . && ./configure make && make test sudo make install sudo echo "[amqp]" > $(path_to_php_ini)/conf.d/amqp.ini sudo echo "extension=amqp.so" >> $(path_to_php_ini)/conf.d/amqp.ini popd