2017 © Pedro Peláez
 

library rabbitmq-management-api

An object oriented wrapper for the RabbitMQ Management HTTP Api

image

richardfullmer/rabbitmq-management-api

An object oriented wrapper for the RabbitMQ Management HTTP Api

  • Wednesday, February 8, 2017
  • by richardfullmer
  • Repository
  • 3 Watchers
  • 31 Stars
  • 163,294 Installations
  • PHP
  • 9 Dependents
  • 0 Suggesters
  • 18 Forks
  • 2 Open issues
  • 7 Versions
  • 10 % Grown

The README.md

PHP RabbitMQ Management Api

A simple object oriented wrapper for the RabbitMQ Management HTTP Api in PHP 5.3, (*1)

Uses PHP-HTTP for requests., (*2)

Installation

Installable through composer via:, (*3)

$ composer require richardfullmer/rabbitmq-management-api

Additionally, you require a httplug compatible client., (*4)

For example, use the guzzle6 adapter:, (*5)

$ composer require php-http/guzzle6-adapter

Basic Usage

<?php

use RabbitMq\ManagementApi\Client;

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

$client = new Client();
$queue = $client->queues()->get('/', 'sample-messages-queue');
$response = $client->exchanges()->publish('/', 'sample-messages', array(
    'properties' => array(),
    'routing_key' => '',
    'payload' => 'This is a test',
    'payload_encoding' => 'string'
));

if ($response['routed']) {
    print 'Message delivered';
}

License

php-rabbitmq-management-api is licensed under the MIT License - see the LICENSE file for details, (*6)

Credits

Structure from KnpLabs php-github-api, (*7)

Rabbit's Excellent Message Queue, (*8)

The Versions

08/02 2017

dev-master

9999999-dev https://github.com/richardfullmer/php-rabbitmq-management-api

An object oriented wrapper for the RabbitMQ Management HTTP Api

  Sources   Download

MIT

The Requires

 

rest rabbitmq message queue

18/10 2016

2.0.0

2.0.0.0 https://github.com/richardfullmer/php-rabbitmq-management-api

An object oriented wrapper for the RabbitMQ Management HTTP Api

  Sources   Download

MIT

The Requires

 

rest rabbitmq message queue

27/08 2016

dev-httplug

dev-httplug https://github.com/richardfullmer/php-rabbitmq-management-api

An object oriented wrapper for the RabbitMQ Management HTTP Api

  Sources   Download

MIT

The Requires

 

rest rabbitmq message queue

22/08 2016

1.1.0

1.1.0.0 https://github.com/richardfullmer/php-rabbitmq-management-api

An object oriented wrapper for the RabbitMQ Management HTTP Api

  Sources   Download

MIT

The Requires

 

rest rabbitmq message queue

21/04 2014

1.0.2

1.0.2.0 https://github.com/richardfullmer/php-rabbitmq-management-api

An object oriented wrapper for the RabbitMQ Management HTTP Api

  Sources   Download

MIT

The Requires

 

rest rabbitmq message queue

16/10 2013

1.0.1

1.0.1.0 https://github.com/richardfullmer/php-rabbitmq-management-api

An object oriented wrapper for the RabbitMQ Management HTTP Api

  Sources   Download

MIT

The Requires

 

rest rabbitmq message queue

23/05 2013

1.0.0

1.0.0.0 https://github.com/richardfullmer/php-rabbitmq-management-api

An object oriented wrapper for the RabbitMQ Management HTTP Api

  Sources   Download

MIT

The Requires

 

rest rabbitmq message queue