PHPackages                             leaf/leaf-php-pcntl - 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. leaf/leaf-php-pcntl

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

leaf/leaf-php-pcntl
===================

A PHP process manager

0.1.0(8y ago)8624[1 issues](https://github.com/hansedong/leaf-php-pcntl/issues)MITPHPPHP &gt;=5.4.0

Since May 27Pushed 8y ago3 watchersCompare

[ Source](https://github.com/hansedong/leaf-php-pcntl)[ Packagist](https://packagist.org/packages/leaf/leaf-php-pcntl)[ Docs](https://www.leafphp.com)[ RSS](/packages/leaf-leaf-php-pcntl/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (2)Used By (0)

leaf-php-pcntl
==============

[](#leaf-php-pcntl)

leaf-php-pcntl 是一个遵循PSR-3规范的，PHP多进程管理器组件
----------------------------------------

[](#leaf-php-pcntl-是一个遵循psr-3规范的php多进程管理器组件)

### 特点及出发点：

[](#特点及出发点)

1. 使用composer包，遵循psr-3标准规范，便于集成到基于composer的项目中。
2. 提供autoload注册方式，即便你的项目没有使用composer，也能方便的集成。
3. 集成进程、进程池、进程间通讯，以及多中进程池方式（如：socketpair、chunk、offset等）可以选择。

1. leaf-distributer 使用——引入
--------------------------

[](#1-leaf-distributer-使用引入)

### 引入有2种方式：

[](#引入有2种方式)

1、基于composer的项目的引入方式：

```
composer require leaf/leaf-php-pcntl

```

2、非composer项目引入方式：

```
\Leaf\Managers\ProcessManager\Autoloader::register();

```

2. 使用场景说明：
----------

[](#2-使用场景说明)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

3276d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fd4f0704eba474f6eae2b5eb9fd38b173a280a2bce751deec7a2b4f136ce47f?d=identicon)[donghongshuai](/maintainers/donghongshuai)

---

Tags

phppcntlphp process pollphp process manager

### Embed Badge

![Health badge](/badges/leaf-leaf-php-pcntl/health.svg)

```
[![Health](https://phpackages.com/badges/leaf-leaf-php-pcntl/health.svg)](https://phpackages.com/packages/leaf-leaf-php-pcntl)
```

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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