amphp/parallel-functions
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mehr-als-nix/parallel | 0.85 | 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. | 7 | 7 | 0 | 3K | 0 | 0.3 | 36.1 | — | 8 years ago | |
| amphp/parallel | 0.85 | True parallel processing for PHP with AMPHP: run blocking tasks in worker processes or threads without blocking the event loop. Provides non-blocking concurrency tools and an easy worker pool API for distributing work; no extensions required (threads optional). | 864 | 859 | 71 | 2M | 20 | 32.6 | 57.0 | MIT | 5 months ago | |
| symplify/easy-parallel | 0.84 | 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. | 13 | 13 | 5 | 5K | 1 | 0.3 | 34.8 | MIT | — | |
| amphp/pipeline | 0.83 | amphp/pipeline provides fiber-safe concurrent iterators and collection operators for AMPHP event-driven PHP apps. Consume asynchronous sets with foreach, yield from, or iterator_to_array across multiple fibers. Requires PHP 8.1+; install via composer require amphp/pipeline. | 84 | 77 | 6 | 3M | 1 | 21.1 | 62.6 | MIT | 3 months ago | |
| amphp/process | 0.83 | amphp/process is an asynchronous process dispatcher for PHP 8.1+ built on the Revolt event loop. It runs child processes on all major platforms, including Windows, with non-blocking access to stdout and stderr, plus support for custom working directories and environment variables. | 261 | 262 | 29 | 6M | 10 | 34.2 | 67.9 | MIT | 5 days ago | |
| amphp/amp | 0.83 | amphp/amp provides futures and cancellations as core primitives for asynchronous PHP. Built on PHP 8.1 fibers and Revolt, it lets you write concurrent code that reads like synchronous code, using Amp\async() and Future::await() without callbacks. | 4,430 | 4,448 | 259 | 4M | 16 | 59.3 | 54.2 | MIT | 3 months ago | |
| spatie/async | 0.82 | 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. | 2,808 | 2,823 | 185 | 179K | 0 | 33.5 | 26.2 | MIT | 8 months ago | |
| jenner/simple_fork | 0.79 | SimpleFork is a PHP PCNTL-based multi-process framework with Java-like Thread/Runnable APIs. It provides process pools, automatic zombie recovery, signal handling, and IPC options like shared memory, SysV queues/semaphores, file locks, and Redis queues/cache. | 226 | 232 | 57 | 7K | 3 | 8.2 | 22.1 | MIT | 9 years ago |
How can I help you explore Laravel packages today?