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

ActiveLibrary

soneritics/pcntl
================

PCNTL helper methods

1.1(8y ago)146MITPHPPHP &gt;=7.1

Since Aug 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Soneritics/PCNTL)[ Packagist](https://packagist.org/packages/soneritics/pcntl)[ Docs](https://github.com/Soneritics/PCNTL)[ RSS](/packages/soneritics-pcntl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

PCNTL
=====

[](#pcntl)

[![Build Status](https://camo.githubusercontent.com/d8fe15d21b5dd57354a5627d579a33252e5ec3b8d0228693c50e98ba8c327c8b/68747470733a2f2f6170692e7472617669732d63692e6f72672f536f6e657269746963732f50434e544c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Soneritics/PCNTL)[![Coverage Status](https://camo.githubusercontent.com/e7cd271d4c5e47991f80dfc2be97fec654f4ff7f273e8f0820d85d74cad3be60/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f536f6e657269746963732f50434e544c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/Soneritics/PCNTL?branch=master)[![License](https://camo.githubusercontent.com/505fe3a551fc6e64816f64cee81471b04e7ef943170e4f994c249982b3fd4290/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](https://camo.githubusercontent.com/505fe3a551fc6e64816f64cee81471b04e7ef943170e4f994c249982b3fd4290/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)

by

- [@Soneritics](https://github.com/Soneritics) - Jordi Jolink

Introduction
------------

[](#introduction)

Helper method for working with forks.

Minimum Requirements
--------------------

[](#minimum-requirements)

- PHP 7.1

Features
--------

[](#features)

- tbd
- tbd

### Example

[](#example)

The following PHP code is a minimal example of one of the possibilities of this library.

```
(new \PCNTL\ThreadStart)->startAndWait(
    (new \PCNTL\ThreadCollection)
        ->add(new ExampleClass('Test 1'))
        ->add(new ExampleClass('Test 2'))
        ->add(new ExampleClass('Test 3'))
        ->add(new ExampleClass('Test 4'))
        ->add(new ExampleClass('Test 5'))
);
```

Running multiple threads (forks), output will look like:

```
Starting
Starting Test 1
Starting Test 2
Starting Test 3
Starting Test 5
Starting Test 4
Ended Test 1
Ended Test 3
Ended Test 5
Ended Test 2
Ended Test 4
Program is done.

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

2

Last Release

3190d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1416ed8f305c5a86b14d22c7df1fd254f996985916bac5409ff697173fc3cd91?d=identicon)[soneritics](/maintainers/soneritics)

---

Top Contributors

[![Soneritics](https://avatars.githubusercontent.com/u/3717850?v=4)](https://github.com/Soneritics "Soneritics (10 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

PHPackages © 2026

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