PHPackages                             wispedia/kppool - 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. wispedia/kppool

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

wispedia/kppool
===============

PHP process pool base on pcntl and apcu

v0.0.1(7y ago)13Apache License 2.0PHPPHP &gt;=7.0.0

Since Mar 7Pushed 7y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

kppool
======

[](#kppool)

PHP进程池

快速开始
----

[](#快速开始)

### 依赖

[](#依赖)

- php&gt;=7.0.0
- ext-apcu&gt;=^5.1
- ext-pcntl&gt;=^7.2

### 安装依赖

[](#安装依赖)

```
    composer require wispedia/kppool
```

### 示例

[](#示例)

```
    use Kppool\Forker\PcntlProcessPool;
    use Kppool\Channel\ApcuChannel;

    function echo_hello($a) {
    	var_dump($a);
    }

    // 第二个参数为初始化进程的数量
    $process_pool = new PcntlProcessPool(ApcuChannel::class, 4);

    for ($i = 1; $i register("echo_hello", "hello");
    }
    // run方法会等待所有register的任务完成之后才返回
    $process_pool->run();
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

2625d ago

### Community

Maintainers

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

---

Top Contributors

[![wispedia](https://avatars.githubusercontent.com/u/15278300?v=4)](https://github.com/wispedia "wispedia (12 commits)")

### Embed Badge

![Health badge](/badges/wispedia-kppool/health.svg)

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

PHPackages © 2026

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