PHPackages                             timebug/hyperf-rocketmq - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. timebug/hyperf-rocketmq

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

timebug/hyperf-rocketmq
=======================

a rocketmq for hyperf

v1.0.5(3y ago)0132MITPHPPHP 8.0.\*

Since Jul 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ChuckJack/hyperf_rocketmq)[ Packagist](https://packagist.org/packages/timebug/hyperf-rocketmq)[ RSS](/packages/timebug-hyperf-rocketmq/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (17)Versions (3)Used By (0)

timebug/hyperf-rocketmq
=======================

[](#timebughyperf-rocketmq)

引入Composer包
-----------

[](#引入composer包)

```
composer require timebug/hyperf-rocketmq

```

新建生产者
-----

[](#新建生产者)

```
#[Producer(poolName: "default", topic: "test_topic", groupId: "test_group", messageTag: "tMsgKey", properties: ["a" => 1])]
class DemoProducer extends ProducerMessage
{
    public function __construct(array $data)
    {
        // 设置消息内容
        $this->setPayload($data);
        $this->setMessageKey('tMsgKey01');
    }

}
```

新建消费者
-----

[](#新建消费者)

```
#[Consumer(name: "Consumer", poolName: "default", topic: "test_topic", groupId: "test_group", messageTag: "tMsgKey")]
class DemoConsumer extends ConsumerMessage
{
    public function consumeMessage(RocketMQMessage $message): void
    {
        var_dump($message->getMessageId());
        var_dump($this->unserialize($message->getMessageBody()));
        var_dump($message->getPublishTime());
    }
}
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

1437d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8184b1106ac5c1aae793d1b3a7bb2d728a6f9836061214ceee92c98484d7a9c?d=identicon)[ChuckJack](/maintainers/ChuckJack)

---

Top Contributors

[![YoimiyaMisaka](https://avatars.githubusercontent.com/u/29019999?v=4)](https://github.com/YoimiyaMisaka "YoimiyaMisaka (2 commits)")

---

Tags

phphyperfrocketMq

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/timebug-hyperf-rocketmq/health.svg)

```
[![Health](https://phpackages.com/badges/timebug-hyperf-rocketmq/health.svg)](https://phpackages.com/packages/timebug-hyperf-rocketmq)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[laravel/framework

The Laravel Framework.

34.8k543.8M20.0k](/packages/laravel-framework)[hyperf/amqp

A amqplib for hyperf.

231.3M71](/packages/hyperf-amqp)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M419](/packages/drupal-core-recommended)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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