mehr-als-nix/parallel
Lightweight PHP library to run multiple tasks in parallel using a Manager/Worker model. Uses pcntl on *NIX to fork processes (auto-detects CPU count), with graceful fallback to serial execution when requirements aren’t met. Captures results and errors per worker.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/parallel-functions | 0.81 | Wrap callables to run in parallel processes/threads with AMPHP. Provides helpers like parallelMap to execute CPU-heavy or blocking tasks concurrently; callable state must be serializable. Built for PHP 8.1+ with fibers-friendly concurrency. | 279 | 280 | 18 | 114K | 4 | 5.0 | 36.6 | MIT | 2 years ago | |
| webmozarts/console-parallelization | 0.80 | Parallelize Symfony Console commands using multiple processes. A main process distributes items to child workers, restarts workers after segments to avoid slowdown, and supports batching with hooks for setup/teardown (e.g., DB flush) for faster bulk jobs. | 227 | 227 | 17 | 54K | 6 | 12.2 | 36.0 | MIT | 1 year ago | |
| spatie/async | 0.80 | Run PHP tasks in parallel with a simple Pool API built on PCNTL. Add closures, handle results via then/catch, and wait for completion. Ideal for speeding up batch jobs, CPU-heavy work, and IO-bound processing with multiple processes. | 0 | 2,826 | — | 175K | — | 42.2 | 27.9 | — | — | |
| symplify/easy-parallel | 0.79 | Run PHP tasks in parallel with a simple API. Easy Parallel helps speed up builds and code analysis by distributing work across multiple processes, while keeping output manageable and integration straightforward in existing Symplify and custom tooling. | 11 | 11 | 5 | 28K | 1 | 0.4 | 46.5 | MIT | — | |
| amphp/parallel | 0.79 | True parallel processing for PHP with AMPHP: run blocking work in worker processes or threads without blocking the event loop and without extensions. Includes non-blocking concurrency tools plus an opinionated worker pool API for submitting tasks and awaiting results. | 850 | 857 | 68 | 2M | 20 | 41.1 | 60.5 | MIT | 3 weeks ago | |
| pestphp/pest-plugin-parallel | 0.70 | Official parallel testing plugin for Pest. Run your test suite concurrently across CPU cores to speed up feedback, with simple configuration and CLI options. Ideal for large projects and CI pipelines looking to reduce test runtime. | 32 | 31 | 10 | 48K | 0 | 0.7 | 43.7 | MIT | — | |
| php-parallel-lint/php-parallel-lint | 0.70 | Parallel PHP syntax checker that lints files concurrently for faster CI runs. Supports plain/colored text, JSON, and checkstyle output, plus optional blame to find the commit that introduced errors. Install via Composer or use the provided PHAR. | 354 | 360 | 25 | 2M | 23 | 11.4 | 60.1 | NOASSERTION | 2 years ago |
How can I help you explore Laravel packages today?