PHPackages                             friendsofhyperf/async-task - 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. friendsofhyperf/async-task

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

friendsofhyperf/async-task
==========================

The async task for Hyperf.

v3.1.5(2y ago)15.1k—0%MITPHP

Since Oct 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/friendsofhyperf/async-task)[ Packagist](https://packagist.org/packages/friendsofhyperf/async-task)[ RSS](/packages/friendsofhyperf-async-task/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (36)Used By (0)

Async Task
==========

[](#async-task)

[![Latest Stable Version](https://camo.githubusercontent.com/82469df6aca0aa1d120d1a6119b0fae4f22c90ca246105be28f190408dc5fb3e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f667269656e64736f666879706572662f6173796e632d7461736b)](https://packagist.org/packages/friendsofhyperf/async-task)[![Total Downloads](https://camo.githubusercontent.com/e763fcb41d90c1f6b75ce41059d5e78929d3f2cbbc03f5ab880089aefb8e3286/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f667269656e64736f666879706572662f6173796e632d7461736b)](https://packagist.org/packages/friendsofhyperf/async-task)[![License](https://camo.githubusercontent.com/553408421e1c93a831dc577d6c1c2834b415d3550168651cbf076fce69da93a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f667269656e64736f666879706572662f6173796e632d7461736b)](https://github.com/friendsofhyperf/async-task)

The async task component for Hyperf.

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

[](#installation)

```
composer require friendsofhyperf/async-task
```

Usage
-----

[](#usage)

```
use FriendsOfHyperf\AsyncTask\AbstractTask;
use FriendsOfHyperf\AsyncTask\Task;

class FooTask extends AbstractTask
{
    public function handle():void
    {
        var_dump('foo');
    }
}

Task::deliver(new FooTask());

Task::deliver(fn () => var_dump(111));
```

Donate
------

[](#donate)

> If you like them, Buy me a cup of coffee. [Alipay](https://hdj.me/images/alipay-min.jpg) | [WeChat](https://hdj.me/images/wechat-pay-min.jpg)

Contact
-------

[](#contact)

- [Twitter](https://twitter.com/huangdijia)
- [Gmail](mailto:huangdijia@gmail.com)

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Recently: every ~32 days

Total

35

Last Release

772d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8337659?v=4)[Deeka Wong](/maintainers/huangdijia)[@huangdijia](https://github.com/huangdijia)

---

Top Contributors

[![huangdijia](https://avatars.githubusercontent.com/u/8337659?v=4)](https://github.com/huangdijia "huangdijia (39 commits)")

---

Tags

hyperfv3.1

### Embed Badge

![Health badge](/badges/friendsofhyperf-async-task/health.svg)

```
[![Health](https://phpackages.com/badges/friendsofhyperf-async-task/health.svg)](https://phpackages.com/packages/friendsofhyperf-async-task)
```

###  Alternatives

[friendsofhyperf/sentry

The sentry component for Hyperf.

1864.6k](/packages/friendsofhyperf-sentry)[hyperf/crontab

A crontab component for Hyperf.

131.6M62](/packages/hyperf-crontab)[hyperf/watcher

Hot reload watcher for Hyperf

17846.7k27](/packages/hyperf-watcher)[hyperf/di

A DI for Hyperf.

182.8M594](/packages/hyperf-di)

PHPackages © 2026

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