PHPackages                             fizzday/multiprocess - 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. fizzday/multiprocess

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

fizzday/multiprocess
====================

the php multi process library depend on the pcntl php extension (php多进程类, 基于php的pcntl扩展)

182PHP

Since Jan 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/fizzday/MultiProcess)[ Packagist](https://packagist.org/packages/fizzday/multiprocess)[ RSS](/packages/fizzday-multiprocess/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

MultiProcess
============

[](#multiprocess)

the php multi process library depend on the pcntl php extension(php多进程类, 基于php的pcntl扩展)

usage
-----

[](#usage)

### install

[](#install)

use composer

```
{
    {
        "fizzday/multiprocess": "dev-master"
    }
}

```

or

```
composer require fizzday/multiprocess

```

### using(english)

[](#usingenglish)

1. extends the `MultiProcess` abstract class
2. rewrite the `myAct()` method, do the real things you need
3. finally act run() method make it works

the code likes in file `myMulti.php`:

```
