Package Data | |
---|---|
Maintainer Username: | honarkhah |
Maintainer Contact: | richardfullmer@gmail.com (Richard Fullmer) |
Package Create Date: | 2016-11-29 |
Package Last Update: | 2017-05-14 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-19 03:13:09 |
Package Statistics | |
---|---|
Total Downloads: | 60 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
A simple object oriented wrapper for the RabbitMQ Management HTTP Api in PHP 5.5.
Forked from 'richardfullmer/php-rabbitmq-management-api' in order to modernize the code and add tests.
Uses Guzzle for REST requests.
First add package name to your composer requirements
"require": {
"mammutgroup/rabbitmq-management-api": "dev"
}
Next, update Composer from the Terminal:
composer update
Next, add your new provider to the providers array of config/app.php:
'providers' => [
// ...
Markup\RabbitMq\RabbitManagerServiceProvider::class
// ...
]
Next, add class alias to the aliases array of config/app.php:
'aliases' => [
// ...
'RabbitManager' => Markup\RabbitMq\Facades\RabbitManager::class,
// ...
]
Finally, run:
php artisan vendor:publish
\RabbitManager::users()->all();
php-rabbitmq-management-api is licensed under the MIT License - see the LICENSE file for details
Structure from KnpLabs php-github-api Rabbit's Excellent Message Queue