mammutgroup/rabbitmq-management-api
Composer 安装命令:
composer require mammutgroup/rabbitmq-management-api
包简介
An Laravel wrapper for the RabbitMQ Management HTTP Api
README 文档
README
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.
Requirements:
- php ~5.4.*
Installation
Installable through composer via:
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
Ho to use:
\RabbitManager::users()->all();
License
php-rabbitmq-management-api is licensed under the MIT License - see the LICENSE file for details
Credits
Structure from KnpLabs php-github-api Rabbit's Excellent Message Queue
统计信息
- 总下载量: 61
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-29