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 | 4K | 0 | 0.3 | 37.3 | — | 8 years 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. | 11 | 11 | 5 | 28K | 1 | 0.4 | 46.5 | MIT | — | |
| amphp/process | 0.83 | Asynchronous process dispatcher for PHP (AMPHP) built for fibers and concurrency. Start and manage child processes cross-platform, stream stdout/stderr without blocking, set working directory and environment variables, powered by the Revolt event loop and Windows wrapper. | 256 | 257 | 29 | 2M | 10 | 14.0 | 57.3 | MIT | 1 week ago | |
| amphp/amp | 0.83 | AMPHP (AMP) accelerates PHP concurrency with fibers, eliminating callbacks and generators. Built on PHP 8.1’s cooperative coroutines, it lets you run async tasks like sync code—ideal for I/O-bound apps. Use Amp\async() for parallel execution and Future::await() to handle results seamlessly. No event... | 4,416 | 4,431 | 258 | 3M | 15 | 48.4 | 46.9 | MIT | 9 months ago | |
| amphp/parallel | 0.82 | 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 | |
| spatie/async | 0.81 | 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 | — | — | |
| 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. | 227 | 233 | 58 | 6K | 3 | 8.3 | 20.3 | MIT | 9 years ago |
How can I help you explore Laravel packages today?