PHPackages                             grandmasterx/yii2-multithreading - 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. grandmasterx/yii2-multithreading

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

grandmasterx/yii2-multithreading
================================

Multithreading class for php 5.3+

490[1 issues](https://github.com/GrandMasterX/php-multithreading/issues)PHP

Since Jan 27Pushed 11y ago2 watchersCompare

[ Source](https://github.com/GrandMasterX/php-multithreading)[ Packagist](https://packagist.org/packages/grandmasterx/yii2-multithreading)[ RSS](/packages/grandmasterx-yii2-multithreading/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Multithreading class for php 5.3+
=================================

[](#multithreading-class-for-php-53)

Multithreading class for php 5.3+

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist grandmasterx/yii2-multithreading "*"

```

or add

```
"grandmasterx/yii2-multithreading": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
$threads = new Threads;
$threads->newThread(dirname(__FILE__).'/file.php', array());
while (false !== ($result = $threads->iteration())) {
    if (!empty($result)) {
        echo $result."\r\n";
    }
}
echo (date("H:i:s"));
$end = microtime(true);
echo "Execution time ".round($end - $start, 2)."\r\n";
die;
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/da448c29b0b269957ab1b48b4e90ee34100f676f17645320ccf7fccd5c3c55f9?d=identicon)[GrandMasterX](/maintainers/GrandMasterX)

---

Top Contributors

[![GrandMasterX](https://avatars.githubusercontent.com/u/4984750?v=4)](https://github.com/GrandMasterX "GrandMasterX (3 commits)")

### Embed Badge

![Health badge](/badges/grandmasterx-yii2-multithreading/health.svg)

```
[![Health](https://phpackages.com/badges/grandmasterx-yii2-multithreading/health.svg)](https://phpackages.com/packages/grandmasterx-yii2-multithreading)
```

###  Alternatives

[hazaveh/verify-domain

Verify Domain Ownership with PHP

238.6k1](/packages/hazaveh-verify-domain)

PHPackages © 2026

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