PHPackages                             mmfei/hyperf-async-event - 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. mmfei/hyperf-async-event

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

mmfei/hyperf-async-event
========================

An async event for hyperf.

v3.0.2(3y ago)112.2kMITPHP

Since Jan 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mmfei/hyperf-async-event)[ Packagist](https://packagist.org/packages/mmfei/hyperf-async-event)[ RSS](/packages/mmfei-hyperf-async-event/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (2)Versions (15)Used By (0)

Hyperf Async Event
==================

[](#hyperf-async-event)

这是基于 async-queue 的 event 的异步框架
------------------------------

[](#这是基于-async-queue-的-event-的异步框架)

[event](https://hyperf.wiki/2.0/#/zh-cn/event)[async-queue](https://hyperf.wiki/2.0/#/zh-cn/async-queue)

Installation
------------

[](#installation)

```
composer require mmfei/event
composer require mmfei/async-queue
composer require mmfei/hyperf-async-event

```

Configuration
-------------

[](#configuration)

### Publish config

[](#publish-config)

```
php bin/hyperf.php vendor:publish mmfei/hyperf-async-event

```

Config files:
-------------

[](#config-files)

```
+ ./config/autoload/async_queue.php
+ ./config/autoload/dependencies.php
+ ./config/autoload/processer.php
+ ./config/autoload/redis.php

```

Usage
-----

[](#usage)

```
$event = new \StdClass();
//$event->async_delay = 0;
$event->is_support_async = true;
$event->data = 'test';
\Hyperf\Utils\ApplicationContext::getContainer()->get(EventDispatcherInterface::class)->dispatch($event);
```

### More configure

[](#more-configure)

[Only some events are asynchronous?](./README_CUSTOM.MD)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~56 days

Recently: every ~183 days

Total

14

Last Release

1219d ago

Major Versions

v1.0.10 → v3.0.02023-01-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/9623e2649e6cc62f0c375f8ae0e9eb5657957d3830cbb2fdf639cc1fca39b720?d=identicon)[mmfei](/maintainers/mmfei)

---

Top Contributors

[![mmfei](https://avatars.githubusercontent.com/u/3683362?v=4)](https://github.com/mmfei "mmfei (5 commits)")

---

Tags

asynchyperfenvent

### Embed Badge

![Health badge](/badges/mmfei-hyperf-async-event/health.svg)

```
[![Health](https://phpackages.com/badges/mmfei-hyperf-async-event/health.svg)](https://phpackages.com/packages/mmfei-hyperf-async-event)
```

###  Alternatives

[amphp/amp

A non-blocking concurrency framework for PHP applications.

4.4k123.4M323](/packages/amphp-amp)[react/socket

Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP

1.3k116.9M402](/packages/react-socket)[revolt/event-loop

Rock-solid event loop for concurrent PHP applications.

91943.6M138](/packages/revolt-event-loop)[spatie/async

Asynchronous and parallel PHP with the PCNTL extension

2.8k4.5M37](/packages/spatie-async)[amphp/parallel

Parallel processing component for Amp.

84746.2M74](/packages/amphp-parallel)[react/dns

Async DNS resolver for ReactPHP

535114.1M100](/packages/react-dns)

PHPackages © 2026

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