Its a PhpAmqpLib wrapper.
Via Composer
$ composer require mkhairul/amqp dev-master
rabbit:
host: localhost
port: 5672
login: guest
pass: guest
vhost: /
exchange:
name: someExchange
queue:
name: someQueue
<?php
require_once 'vendor/autoload.php';
use Symfony\Component\Yaml\Yaml;
use Mkhairul\AMQPWrapper\AMQPWrapper;
$config = Yaml::parse(file_get_contents('config.yaml'));
$conn = new AMQPWrapper($config, 'rabbit');
$conn->sendMessage('message-type', 'Time\'s Up!');
The MIT License (MIT). Please see License File for more information.