PHPackages                             aliyunmq/mq-http-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. aliyunmq/mq-http-sdk

ActiveLibrary[Queues &amp; Workers](/categories/queues)

aliyunmq/mq-http-sdk
====================

Aliyun Message Queue(MQ) Http PHP SDK, PHP&gt;=5.5.0

1.0.4(3y ago)75379.9k↑91.9%35[5 PRs](https://github.com/aliyunmq/mq-http-php-sdk/pulls)13MITPHPPHP &gt;=5.5.0

Since Jan 2Pushed 2y ago2 watchersCompare

[ Source](https://github.com/aliyunmq/mq-http-php-sdk)[ Packagist](https://packagist.org/packages/aliyunmq/mq-http-sdk)[ Docs](https://github.com/aliyunmq/mq-http-php-sdk)[ RSS](/packages/aliyunmq-mq-http-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (8)Used By (13)

MQ HTTP PHP SDK
===============

[](#mq-http-php-sdk)

Alyun MQ Documents:

Aliyun MQ Console:

Intall Composer
---------------

[](#intall-composer)

To install composer by following commands, or see [composer](https://docs.phpcomposer.com/00-intro.html)

```
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
```

Install &amp; Use
-----------------

[](#install--use)

Add require to your `composer.json`

```
{
  "require": {
     "aliyunmq/mq-http-sdk": ">=1.0.4"
  }
}
```

Use Composer to install requires

```
composer install
```

*Note: php version&gt;=5.5.0, and xml extension of php is required.*

Note
----

[](#note)

1. Http consumer only support timer msg (less than 3 days), no matter the msg is produced from http or tcp protocol.
2. Order is only supported at special server cluster.

Samples (github)
----------------

[](#samples-github)

[Publish Message](https://github.com/aliyunmq/mq-http-samples/blob/master/php/Producer.php)

[Consume Message](https://github.com/aliyunmq/mq-http-samples/blob/master/php/Consumer.php)

[Transaction Message](https://github.com/aliyunmq/mq-http-samples/blob/master/php/TransProducer.php)

[Publish Order Message](https://github.com/aliyunmq/mq-http-samples/blob/master/php/OrderProducer.php)

[Consume Order Message](https://github.com/aliyunmq/mq-http-samples/blob/master/php/OrderConsumer.php)

Samples (code.aliyun.com)
-------------------------

[](#samples-codealiyuncom)

[Publish Message](https://code.aliyun.com/aliware_rocketmq/mq-http-samples/blob/master/php/Producer.php)

[Consume Message](https://code.aliyun.com/aliware_rocketmq/mq-http-samples/blob/master/php/Consumer.php)

[Transaction Message](https://code.aliyun.com/aliware_rocketmq/mq-http-samples/blob/master/php/TransProducer.php)

[Publish Order Message](https://code.aliyun.com/aliware_rocketmq/mq-http-samples/blob/master/php/OrderProducer.php)

[Consume Order Message](https://code.aliyun.com/aliware_rocketmq/mq-http-samples/blob/master/php/OrderConsumer.php)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity51

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~367 days

Total

5

Last Release

1216d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87feb0fc9035118e36e72f0e32e79c631e24994ad9a6160d2439375183efd99f?d=identicon)[aliyunmq](/maintainers/aliyunmq)

---

Top Contributors

[![drpmma](https://avatars.githubusercontent.com/u/20906038?v=4)](https://github.com/drpmma "drpmma (3 commits)")[![xdkxlk](https://avatars.githubusercontent.com/u/10397306?v=4)](https://github.com/xdkxlk "xdkxlk (3 commits)")

---

Tags

messagequeueMQmessage queuealiyunalicloud

### Embed Badge

![Health badge](/badges/aliyunmq-mq-http-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/aliyunmq-mq-http-sdk/health.svg)](https://phpackages.com/packages/aliyunmq-mq-http-sdk)
```

###  Alternatives

[php-amqplib/php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

4.6k125.3M870](/packages/php-amqplib-php-amqplib)[queue-interop/queue-interop

Promoting the interoperability of MQs objects. Based on Java JMS

48030.5M86](/packages/queue-interop-queue-interop)[php-amqplib/rabbitmq-bundle

Integrates php-amqplib with Symfony &amp; RabbitMq. Formerly emag-tech-labs/rabbitmq-bundle, oldsound/rabbitmq-bundle.

1.3k20.1M64](/packages/php-amqplib-rabbitmq-bundle)[clue/mq-react

Mini Queue, the lightweight in-memory message queue to concurrently do many (but not too many) things at once, built on top of ReactPHP

144691.7k4](/packages/clue-mq-react)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
