PHPackages                             easyswoole/component - 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. [Framework](/categories/framework)
4. /
5. easyswoole/component

ActiveLibrary[Framework](/categories/framework)

easyswoole/component
====================

easyswoole component

2.4.1(8mo ago)12199.3k↓32.4%2520Apache-2.0PHPPHP &gt;=7.1.0

Since May 25Pushed 8mo agoCompare

[ Source](https://github.com/easy-swoole/component)[ Packagist](https://packagist.org/packages/easyswoole/component)[ Docs](https://www.easyswoole.com/)[ RSS](/packages/easyswoole-component/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (120)Used By (20)

CoroutineRunner
---------------

[](#coroutinerunner)

```
use EasySwoole\Component\CoroutineRunner\Runner;
use Swoole\Coroutine\Scheduler;
use EasySwoole\Component\CoroutineRunner\Task;
$scheduler = new Scheduler;
$scheduler->add(function () {
    $runner = new Runner(4);
    $i = 10;
    while ($i){
        $runner->addTask(new Task(function ()use($runner,$i){
            var_dump("now is num.{$i} at time ".time());
            \co::sleep(1);

            if($i == 5){
                $runner->addTask(new Task(function (){
                    var_dump('this is task add in running');
                }));
            }

        }));
        $i--;
    }
    $runner->start();
    var_dump('task finish');
});
$scheduler->start();

```

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance62

Regular maintenance activity

Popularity43

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 86.3% 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 ~22 days

Recently: every ~224 days

Total

119

Last Release

242d ago

Major Versions

1.9.2 → 2.0.12019-09-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/45c234d5f129ea570e630425636299127647534f0c2cbb073555e2c45d403d6f?d=identicon)[kiss291323003](/maintainers/kiss291323003)

---

Top Contributors

[![kiss291323003](https://avatars.githubusercontent.com/u/24490609?v=4)](https://github.com/kiss291323003 "kiss291323003 (183 commits)")[![Player626](https://avatars.githubusercontent.com/u/44792981?v=4)](https://github.com/Player626 "Player626 (8 commits)")[![evalor](https://avatars.githubusercontent.com/u/26944445?v=4)](https://github.com/evalor "evalor (5 commits)")[![xuanyanwow](https://avatars.githubusercontent.com/u/28777109?v=4)](https://github.com/xuanyanwow "xuanyanwow (2 commits)")[![XueSiLf](https://avatars.githubusercontent.com/u/31389659?v=4)](https://github.com/XueSiLf "XueSiLf (2 commits)")[![Yaphats](https://avatars.githubusercontent.com/u/2899971?v=4)](https://github.com/Yaphats "Yaphats (2 commits)")[![xiaocaigua](https://avatars.githubusercontent.com/u/11884276?v=4)](https://github.com/xiaocaigua "xiaocaigua (2 commits)")[![willove](https://avatars.githubusercontent.com/u/5616317?v=4)](https://github.com/willove "willove (2 commits)")[![tioncico](https://avatars.githubusercontent.com/u/31308307?v=4)](https://github.com/tioncico "tioncico (1 commits)")[![kajweb](https://avatars.githubusercontent.com/u/2993320?v=4)](https://github.com/kajweb "kajweb (1 commits)")[![liosmt0](https://avatars.githubusercontent.com/u/43941983?v=4)](https://github.com/liosmt0 "liosmt0 (1 commits)")[![RunsTp](https://avatars.githubusercontent.com/u/28254581?v=4)](https://github.com/RunsTp "RunsTp (1 commits)")[![ar026](https://avatars.githubusercontent.com/u/24467915?v=4)](https://github.com/ar026 "ar026 (1 commits)")[![voocel](https://avatars.githubusercontent.com/u/21246707?v=4)](https://github.com/voocel "voocel (1 commits)")

---

Tags

asyncframeworkswooleeasyswoole

### Embed Badge

![Health badge](/badges/easyswoole-component/health.svg)

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

###  Alternatives

[easyswoole/easyswoole

An efficient swoole framework

4.8k186.9k50](/packages/easyswoole-easyswoole)[easyswoole/mysqli

An efficient swoole framework

34120.5k27](/packages/easyswoole-mysqli)[easyswoole/redis

easyswoole component

3391.8k12](/packages/easyswoole-redis)[easyswoole/kafka

An efficient swoole framework

4211.1k](/packages/easyswoole-kafka)[easyswoole/compiler

easyswoole component

691.1k](/packages/easyswoole-compiler)[easyswoole/fast-cache

An efficient swoole framework

1030.3k2](/packages/easyswoole-fast-cache)

PHPackages © 2026

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