PHPackages                             centraldesktop/parallel - 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. centraldesktop/parallel

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

centraldesktop/parallel
=======================

Easily allows forking up to a max number of processes

0.9.6(9y ago)021.0k1Apache-2.0PHPPHP &gt;=5.3.6

Since Apr 19Pushed 8y ago11 watchersCompare

[ Source](https://github.com/centraldesktop/parallel)[ Packagist](https://packagist.org/packages/centraldesktop/parallel)[ RSS](/packages/centraldesktop-parallel/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)Dependencies (6)Versions (9)Used By (0)

An easy to use and simple library for doing parallel processing using simple process forks.

All credit should go to the amazing maintainers of Perl's (CPAN) Parallel::ForkManager which I used for about 10 years.

To use:
=======

[](#to-use)

Add this package to your composer dependencies.

use CentralDesktop\\Parallel\\ForkManager;

// build an object, limit to total concurrent processes.

*You must declare(ticks = 1); in order for signal handing to work properly in PHP*

> $fm = new ForkManager(10); $fm-&gt;start();
>
> while ($fm-&gt;alive()) { if ($fm-&gt;start()) { continue; }
>
> do\_something();
>
> $fm-&gt;stop(); } $fm-&gt;shutdown\_all();

You probably may want to handle specific signals by installing signal handlers.

> $fm-&gt;set\_parent\_sighandler(array($this, 'parent\_signal\_handler'));

> $fm-&gt;set\_child\_sighandler(array($this, 'child\_signal\_handler'));

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~248 days

Recently: every ~69 days

Total

6

Last Release

3578d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/62077?v=4)[Trey Hyde](/maintainers/treyhyde)[@treyhyde](https://github.com/treyhyde)

---

Top Contributors

[![treyhyde](https://avatars.githubusercontent.com/u/62077?v=4)](https://github.com/treyhyde "treyhyde (4 commits)")[![fayland](https://avatars.githubusercontent.com/u/22424?v=4)](https://github.com/fayland "fayland (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/centraldesktop-parallel/health.svg)

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

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.0k](/packages/composer-composer)[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

514139.2M641](/packages/symfony-lock)[phpro/soap-client

A general purpose SoapClient library

8895.9M53](/packages/phpro-soap-client)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k44](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[logiscape/mcp-sdk-php

Model Context Protocol SDK for PHP

368116.8k12](/packages/logiscape-mcp-sdk-php)

PHPackages © 2026

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