PHPackages                             phalanx/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. [Queues &amp; Workers](/categories/queues)
4. /
5. phalanx/parallel

ActiveLibrary[Queues &amp; Workers](/categories/queues)

phalanx/parallel
================

Worker process parallelism for Phalanx

v0.2.0(1mo ago)001MITPHPPHP ^8.4

Since Mar 23Pushed 1mo agoCompare

[ Source](https://github.com/havy-tech/phalanx-parallel)[ Packagist](https://packagist.org/packages/phalanx/parallel)[ Docs](https://github.com/havy-tech/phalanx-parallel)[ RSS](/packages/phalanx-parallel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (3)Used By (1)

 [![Phalanx](brand/logo.svg)](brand/logo.svg)

Phalanx Parallel
================

[](#phalanx-parallel)

Offload CPU-heavy work to supervised child processes. Tasks serialize, cross process boundaries via IPC, execute in isolated workers, and return results--all through a single `$scope->inWorker()` call.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Quick Start](#quick-start)
- [How Workers Work](#how-workers-work)
- [Configuration](#configuration)
- [Dispatch Strategies](#dispatch-strategies)
- [Supervision &amp; Recovery](#supervision--recovery)
- [Service Proxying](#service-proxying)
- [Bounded Parallel Map](#bounded-parallel-map)

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

[](#installation)

```
composer require phalanx/parallel
```

Requires PHP 8.4+ and `ext-pcntl`.

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

[](#quick-start)

```
