PHPackages                             hkuan/mq - 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. hkuan/mq

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

hkuan/mq
========

From AMQP adapter to php-amqplib

09PHP

Since May 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/huangyaxiong/amqpAdapter)[ Packagist](https://packagist.org/packages/hkuan/mq)[ RSS](/packages/hkuan-mq/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

amqpAdapter
===========

[](#amqpadapter)

From AMQP adapter to php-amqplib,This package is used for projects "haoshiqi"

### Install

[](#install)

If you have Composer, just include Macaw as a project dependency in your `composer.json`. If you don't just install it by downloading the .ZIP file and extracting it to your project directory.

```
require: {
    "hkuan/amqp_adapterr": "dev-master"
}

```

### Examples

[](#examples)

First, `use` the Macaw namespace:

```
producer:

use \Hkuan\Mq\Amqadapter;
DWDMq::getInstance()->send('test','2222');
```

```
consumer:
use \Hkuan\Mq\Amqadapter;
DWDMq::getInstance()->get('test', 'deal');

$i = 1;
function deal($envelope, $queue) {
    $msg = $envelope->getBody();
    echo $msg.PHP_EOL;
}
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13639110?v=4)[huangyaxiong](/maintainers/huangyaxiong)[@huangyaxiong](https://github.com/huangyaxiong)

### Embed Badge

![Health badge](/badges/hkuan-mq/health.svg)

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

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.5M30](/packages/league-geotools)[illuminate/bus

The Illuminate Bus package.

6045.5M508](/packages/illuminate-bus)[uecode/qpush-bundle

Asynchronous processing for Symfony using Push Queues

1672.5M2](/packages/uecode-qpush-bundle)[jayazhao/think-queue-rabbitmq

为 ThinkPHP5.1 队列增加 RabbitMQ 驱动

141.5k](/packages/jayazhao-think-queue-rabbitmq)[mayconbordin/l5-stomp-queue

Stomp Queue Driver for Laravel 5

121.1k](/packages/mayconbordin-l5-stomp-queue)

PHPackages © 2026

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