amphp/parallel
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).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mehr-als-nix/parallel | 0.87 | 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-functions | 0.84 | 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 | 104K | 4 | 5.0 | 36.1 | MIT | 2 years ago | |
| as3/post-process-bundle | 0.83 | — | 1 | 2 | 1 | 104 | 0 | 2.7 | 23.8 | MIT | 9 years ago | |
| spatie/async | 0.83 | 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,815 | 2,830 | 184 | 171K | 0 | 37.4 | 26.7 | MIT | 7 months ago | |
| amphp/http-server | 0.83 | Non-blocking, concurrent HTTP/1.1 and HTTP/2 application server for PHP 8.1+ built on Revolt and Amp (fibers). Includes TLS, middleware, gzip, and integrations for routing, static files, WebSockets, sessions, and more. | 1,326 | 1,327 | 103 | 1M | 12 | 40.0 | 52.8 | MIT | 2 months ago | |
| jenner/simple_fork | 0.82 | 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. | 225 | 232 | 58 | 7K | 3 | 8.3 | 21.8 | MIT | 9 years ago | |
| amphp/sync | 0.82 | Async synchronization primitives for Amp PHP: mutexes, semaphores, locks, and a synchronized helper. Coordinate concurrent fibers, ensure mutual exclusion, and cap parallel work (e.g., limit HTTP requests) with simple, safe abstractions. | 194 | 192 | 12 | 3M | 0 | 6.7 | 55.3 | MIT | 2 years ago | |
| amphp/pipeline | 0.81 | Fiber-safe concurrent iterators and collection operators for AMPHP. Build pipelines from iterables, map/filter/merge, and consume results from multiple fibers safely using ConcurrentIterator (foreach or manual continue/getValue/getPosition). Requires PHP 8.1+. | 81 | 77 | 6 | 3M | 1 | 24.5 | 64.2 | MIT | 1 month ago | |
| spatie/laravel-long-running-tasks | 0.81 | Monitor and poll external long-running jobs (e.g., AWS Rekognition) in Laravel. Define a task with a check() method that runs on a configurable interval, store meta/context, and automatically reschedule until it reports completion. | 39 | 40 | 2 | 368 | 0 | 15.9 | 15.6 | MIT | 4 months ago | |
| spatie/fork | 0.81 | Run PHP code concurrently using lightweight process forking. Define multiple closures and execute them in parallel, collecting results in order. Requires PHP 8 with pcntl (CLI only) and posix extensions on Unix-like systems. | 1,046 | 1,047 | 114 | 207K | 0 | 26.1 | 34.7 | MIT | 5 months ago | |
| docplanner/tasks-bundle | 0.81 | — | 0 | 0 | 1 | 0 | 0 | 0.2 | — | — | 9 years ago | |
| coka/worker-bundle | 0.81 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| amphp/amp | 0.80 | 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,432 | 4,448 | 257 | 4M | 15 | 62.6 | 55.0 | MIT | 1 month ago |
How can I help you explore Laravel packages today?