Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

腾讯云的 CMQ PHP SDK,全功能

License

NotificationsYou must be signed in to change notification settings

xutl/qcloud-cmq

Repository files navigation

这个SDK和阿里云的MNS通用,直接可切换,支持 同步 异步模式。

Build StatusLicenseLatest Stable VersionTotal Downloads

Installation

The preferred way to install this extension is throughcomposer.

Either run

php composer.phar require --prefer-dist xutl/qcloud-cmq

or add

"xutl/qcloud-cmq": "~1.0"

to the require section of yourcomposer.json file.

Use

useXuTL\QCloud\Cmq\Client;$client =newClient('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

xutl/laravel-qcloud-cmq-queue


[8]ページ先頭

©2009-2025 Movatter.jp