PHPackages                             appserver-io/pthreads-polyfill - 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. appserver-io/pthreads-polyfill

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

appserver-io/pthreads-polyfill
==============================

A polyfill for pthreads

v1.2.3(8y ago)02.4k11PHPPHP

Since Sep 15Pushed 8y ago5 watchersCompare

[ Source](https://github.com/appserver-io/pthreads-polyfill)[ Packagist](https://packagist.org/packages/appserver-io/pthreads-polyfill)[ Docs](http://pthreads.org/)[ RSS](/packages/appserver-io-pthreads-polyfill/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (8)Used By (1)

pthreads-polyfill
=================

[](#pthreads-polyfill)

[![Build Status](https://camo.githubusercontent.com/304ce5fc7d72209584bab63abf55ce2a331a4ce7f9b5015f6ab2a35db665ff80/68747470733a2f2f7472617669732d63692e6f72672f6b72616b6a6f652f70746872656164732d706f6c7966696c6c2e737667)](https://travis-ci.org/krakjoe/pthreads-polyfill)

*pthreads-polyfill* aims to satisfy the API requirements of *pthreads*, such that code written to depend on *pthreads* will work when *pthreads* is not, or can not be loaded.

*pthreads-polyfill* does not implement the same execution model, for obvious reasons, and has no external dependencies.

*pthreads-polyfill* will fill for v2 or v3, however behaviour is consistent with v3, which is the version new projects should target.

Testing
-------

[](#testing)

*pthreads-polyfill* is distributed with some unit tests, these tests should pass with and without *pthreads* loaded.

Testing *pthreads-polyfill*

```
phpunit tests

```

If *pthreads* is loaded by your configuration the polyfill will not be used.

Testing code coverage for *pthreads-polyfill*

```
phpdbg -nqrr vendor/bin/phpunit tests --coverage-text

```

###  Health Score

33

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 78.8% 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 ~123 days

Recently: every ~169 days

Total

7

Last Release

3102d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76b54aaecf7287a0520eec0009161ca457982dee83ac413bfa0d818b72d79947?d=identicon)[wagnert](/maintainers/wagnert)

---

Top Contributors

[![krakjoe](https://avatars.githubusercontent.com/u/2236138?v=4)](https://github.com/krakjoe "krakjoe (52 commits)")[![wagnert](https://avatars.githubusercontent.com/u/287509?v=4)](https://github.com/wagnert "wagnert (6 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (5 commits)")[![Anahkiasen](https://avatars.githubusercontent.com/u/1321596?v=4)](https://github.com/Anahkiasen "Anahkiasen (1 commits)")[![cmyker](https://avatars.githubusercontent.com/u/1872718?v=4)](https://github.com/cmyker "cmyker (1 commits)")[![kelunik](https://avatars.githubusercontent.com/u/2743004?v=4)](https://github.com/kelunik "kelunik (1 commits)")

---

Tags

polyfillpthreads

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/appserver-io-pthreads-polyfill/health.svg)

```
[![Health](https://phpackages.com/badges/appserver-io-pthreads-polyfill/health.svg)](https://phpackages.com/packages/appserver-io-pthreads-polyfill)
```

###  Alternatives

[symfony/polyfill-mbstring

Symfony polyfill for the Mbstring extension

7.8k1.1B423](/packages/symfony-polyfill-mbstring)[paragonie/random_compat

PHP 5.x polyfill for random\_bytes() and random\_int() from PHP 7

8.2k645.3M357](/packages/paragonie-random-compat)[symfony/polyfill-ctype

Symfony polyfill for ctype functions

4.1k966.0M103](/packages/symfony-polyfill-ctype)[symfony/polyfill-php72

Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions

4.8k670.2M28](/packages/symfony-polyfill-php72)[symfony/polyfill-intl-idn

Symfony polyfill for intl's idn\_to\_ascii and idn\_to\_utf8 functions

3.4k760.1M74](/packages/symfony-polyfill-intl-idn)[symfony/polyfill-intl-normalizer

Symfony polyfill for intl's Normalizer class and related functions

2.1k814.1M29](/packages/symfony-polyfill-intl-normalizer)

PHPackages © 2026

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