PHPackages                             beauty-framework/parallels - 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. [Framework](/categories/framework)
4. /
5. beauty-framework/parallels

ActiveLibrary[Framework](/categories/framework)

beauty-framework/parallels
==========================

Beauty Parallels (RoadRunner, Fibers)

1.0.0(11mo ago)0132MITPHPPHP &gt;=8.1

Since Jun 10Pushed 11mo agoCompare

[ Source](https://github.com/beauty-framework/parallels)[ Packagist](https://packagist.org/packages/beauty-framework/parallels)[ RSS](/packages/beauty-framework-parallels/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (2)

Beauty Parallels
================

[](#beauty-parallels)

A lightweight concurrency manager for PHP, supporting Fiber-based parallel execution out of the box. Optionally, you can use RoadRunner jobs-based parallelism (WIP).

---

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

[](#installation)

```
composer require beauty-framework/parallels
```

---

Quick Start
-----------

[](#quick-start)

```
use Beauty\Parallels\Concurrent;
use Beauty\Parallels\WorkersName;

$results = Concurrent::run([
    'task-1' => fn() => 1 + 1,
    'task-2' => fn() => strtoupper('hello'),
]);

print_r($results);
```

### Output:

[](#output)

```
[
    'task-1' => 2,
    'task-2' => 'HELLO',
]
```

---

Execution Modes
---------------

[](#execution-modes)

```
Concurrent::run(array $callbacks, int $timeoutSeconds = 10, string $type = WorkersName::FIBER): array
```

### Available modes:

[](#available-modes)

ModeDescription`fiber`Default. Uses PHP Fibers (cooperative multitasking)`process`WIP. Spawns tasks via RoadRunner Jobs pipelineYou can explicitly choose the execution strategy:

```
Concurrent::run([
    'a' => fn() => 42,
], 5, WorkersName::FIBER);
```

---

Notes
-----

[](#notes)

- Fiber-based mode is **enabled by default**, lightweight and fast.
- RoadRunner-based process execution is under active development and is **experimental**.

---

TODO
----

[](#todo)

- Finish implementation of `ProcessConcurrencyWorker` based on `spiral/roadrunner-jobs`
- Add serialization-safe closures via `opis/closure`
- Result collector with Redis or temp files
- Per-task exception handling and cancellation support
- Tests

---

License
-------

[](#license)

MIT

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance51

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

343d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/068f8c26f06f513a9c38d2a01c4d90a85eae1125a5b9d14eae7059715be860e4?d=identicon)[m1n64](/maintainers/m1n64)

---

Top Contributors

[![m1n64](https://avatars.githubusercontent.com/u/24874264?v=4)](https://github.com/m1n64 "m1n64 (2 commits)")

---

Tags

beautyparallels

### Embed Badge

![Health badge](/badges/beauty-framework-parallels/health.svg)

```
[![Health](https://phpackages.com/badges/beauty-framework-parallels/health.svg)](https://phpackages.com/packages/beauty-framework-parallels)
```

###  Alternatives

[microweber/microweber

New generation CMS with drag and drop

3.4k13.8k1](/packages/microweber-microweber)[opulence/opulence

The Opulence PHP framework

72329.0k1](/packages/opulence-opulence)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)[heptacom/heptaconnect-framework

HEPTAconnect framework package that contains all core and base packages for a HEPTAconnect project

111.7k2](/packages/heptacom-heptaconnect-framework)

PHPackages © 2026

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