xutl/qcloud-cmq
Composer 安装命令:
composer require xutl/qcloud-cmq
包简介
Qcloud CMQ php sdk
README 文档
README
这个SDK和阿里云的MNS通用,直接可切换, 支持 同步 异步模式。
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist xutl/qcloud-cmq
or add
"xutl/qcloud-cmq": "~1.0"
to the require section of your composer.json file.
Use
use XuTL\QCloud\Cmq\Client; $client = new Client('https://cmq-queue-bj.api.qcloud.com','abcdedgasdf','abcdedgasdf'); $request = new \XuTL\QCloud\Cmq\Requests\ListTopicRequest(); try { $response = $client->listTopic($request); print_r($response); } catch (Exception $e) { print_r($e->getMessage()); }
For Laravel
统计信息
- 总下载量: 1.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-10