2017 © Pedro Peláez
 

library reqrequest

RabbitMQ 3.3.4 HTTP Api for PHP!

image

sahil-gulati/reqrequest

RabbitMQ 3.3.4 HTTP Api for PHP!

  • Saturday, March 25, 2017
  • by Sahil-Gulati
  • Repository
  • 1 Watchers
  • 4 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 114 % Grown

The README.md

REQRequest

REQRequest is Rabbitmq Exchange Queue Request. This library is not only bound to exchanges, queues, but you can define parameters of policy of federation, shovel etc. and it is based on Rabbitmq v3.3.4 HTTP., (*1)

Installation

composer require sahil-gulati/reqrequest, (*2)

OR ``` javascript { "require": { "sahil-gulati/reqrequest": "^1.0" } }, (*3)

## Usage
```php
listQueues();
print_r($result);
?>

List of methods, alias and description

Method Name Alias Description
getQueues($vhost) listQueues(...) To get the list of queues in all vhosts or in a given vhost.
getExchanges($vhost) listExchanges(...) To get the list of exchanges in all vhosts or in a given vhost.
getVHosts() listVHosts() To get the list of vhosts
getPolicies($vhost) listPolicies(...) To get the list of all policies in the given vhost
getParameters($component) listParameters(...) To get list of all parameters present for a given component
getBindings($vhost) listBindings(...) To get list of all bindings
createQueue($queueName,$durable,$autoDelete) makeQueue(...) To create a queue with given parameters
createExchange($exchangeName,$type,$durable,$autoDelete) makeExchange(...) To create an exchange with given parameters
createPolicy($vhost,$name,$pattern,$definition,$priority,$applyTo) setPolicy(...) Creates a policy in a given virtual host.
createUserPermissions($vhost,$username,$configRegex,...) unsetUserPermissions(...),br/removeUserPermissions(...) To create a user permission with speciifed parameters.
deleteQueue($queueName) removeQueue(...) To remove a specified queue
deleteExchange($exchangeName) removeExchange(...) TO remove an specified exchange
deletePolicy($vhost,$name) removePolicy(...) To remove a policy with specified vhost and policy name
deleteUser($username) removeUser(...) To remove a specified user
purgeQueue($queueName) Purge's a given queue.
getMessage($vhost,$queueName,$redeliver,$count,$encoding) retrieveMessage(...) Get no. of messages specified from a given queue
getPolicyInfo($vhost,$name) Get policy information according to specified parameters.
getUserInfo($username) Get information for a particular user
getCompleteInfo() Get complete information of the rabbitmq
..... ..... ......

The Versions

25/03 2017

dev-master

9999999-dev

RabbitMQ 3.3.4 HTTP Api for PHP!

  Sources   Download

The Requires

  • php >=5.3

 

by Sahil Gulati

18/02 2017

1.0.0

1.0.0.0

RabbitMQ 3.3.4 HTTP Api for PHP!

  Sources   Download

The Requires

  • php >=5.3

 

by Sahil Gulati