webmozarts/console-parallelization
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| yuntian001/multi-process-queue | 0.87 | A Laravel/PHP package for multi-process queue processing. It runs queue workers in parallel to improve job throughput and makes it easier to manage concurrent queue consumption in Laravel applications, helping background jobs scale beyond a single worker process. | 93 | 95 | 12 | 34 | 1 | 1.2 | 1.9 | MIT | 3 years ago | |
| php-pm/php-pm | 0.86 | PHP-PM is a process manager, supercharger, and load balancer for PHP applications. It boots your app once and serves requests through multiple worker processes, eliminating repeated framework bootstrap overhead and boosting throughput for Laravel, Symfony, and other PHP apps. | 6,538 | — | 367 | — | 26 | 44.4 | 11.5 | MIT | 4 years ago |
|
| amphp/parallel-functions | 0.86 | 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 | |
| vxm/laravel-async | 0.86 | vxm/laravel-async brings asynchronous and parallel execution to Laravel. Run closures and tasks concurrently with a simple API, await results, handle errors, and cap concurrency—ideal for speeding up slow I/O, reports, and batch jobs without restructuring your app. | 154 | 154 | 31 | 4K | 9 | 4.4 | 22.7 | MIT | 2 years ago | |
| workerman/coroutine | 0.86 | Workerman coroutine library providing lightweight concurrency tools for PHP: Coroutine, Channel, Barrier, Parallel, and Pool. Designed to simplify async workflows and coordinated task execution in Workerman-based applications. | 16 | 16 | 4 | 83K | 1 | 22.2 | 59.6 | MIT | 1 week ago | |
| recca0120/laravel-parallel | 0.86 | Laravel Parallel speeds up Laravel test suites by running PHPUnit tests across multiple processes. It provides a simple Artisan command, configurable concurrency, and familiar PHPUnit output, helping large suites finish faster while staying integrated with Laravel. | 63 | — | 4 | — | 0 | 0.8 | — | MIT | 2 years ago | |
| david-garcia/php-resque | 0.86 | PHP port of GitHub’s Resque: a Redis-backed background job system for enqueueing and processing jobs with distributed workers. Supports multiple queues/priorities, forking for memory-leak resilience, job status tracking, failure marking, and setUp/tearDown hooks. | 0 | 0 | 0 | 0 | 0 | 0.2 | — | MIT | 8 years ago | |
| php-standard-library/process | 0.85 | Typed, non-blocking PHP API for spawning, monitoring, and controlling child processes. Manage stdin/stdout/stderr streams, retrieve exit codes, and handle timeouts and signals with a clean, reliable interface for long-running and parallel tasks. | 0 | 0 | 0 | 12K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| react/promise-stream | 0.85 | ReactPHP helper functions bridging promises and streams. Buffer an entire readable stream into a promise, get the first chunk, collect all chunks, or unwrap promises to readable/writable streams with proper error, cancel, and max-length handling. | 115 | 116 | 14 | 95K | 1 | 4.7 | 40.2 | MIT | 2 years ago | |
| spatie/async | 0.85 | 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 | |
| apigen/apigen | 0.85 | ApiGen generates smart, readable API documentation for PHP projects. Modern, easy to use, and supports PHP 8.3 features plus rich phpDoc/ PHPStan types, generics, type aliases, enums, union/intersection types, readonly, and more. | 2,166 | 2,187 | 310 | 971 | 21 | 35.6 | 10.4 | NOASSERTION | 3 years ago | |
| zendframework/zend-console | 0.85 | Zend\Console provides a robust set of tools for building PHP command-line apps and scripts. It includes input parsing, argument and option handling, console adapters, and helpers for formatting output, making it easier to create interactive and portable CLI commands. | 47 | 50 | 30 | 26K | 9 | 2.3 | 28.2 | BSD-3-Clause | 7 years ago | |
| 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 | |
| jenner/simple_fork | 0.85 | 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 | |
| webman/console | 0.85 | webman/console adds an Artisan-style command-line toolkit to Webman, with command registration, input/output helpers, and ready-made commands for common tasks. It helps you scaffold and manage Webman applications from the terminal with a familiar, Laravel-like developer experience. | 26 | 25 | 18 | 11K | 5 | 21.7 | 44.8 | — | 1 week ago | |
| parallite/parallite-php | 0.85 | Parallite is a lightweight PHP package for running tasks in parallel, with a simple API for concurrent jobs and result collection. It integrates with Laravel and helps speed up independent operations without extra infrastructure, making it useful for batch processing and I/O-bound work. | 6 | 6 | 3 | 491 | 0 | 11.7 | 28.2 | MIT | 5 months ago | |
| php-console/laravel-service-provider | 0.85 | Integrates php-console with Laravel by registering the console as a service provider, so you can build and run custom CLI commands using Laravel's container, config, and Artisan-style workflow. | 73 | 77 | 16 | 41 | 4 | 2.2 | 3.4 | BSD-3-Clause | 11 years ago | |
| webmozart/console | 0.85 | webmozart/console is a PHP library for building command-line applications with clean input/output abstractions, argument and option parsing, command routing, ANSI formatting, and interactive prompts—making CLI tools easier to structure and test. | 210 | — | 54 | — | 7 | 4.6 | 1.9 | MIT | 10 years ago |
|
| php-standard-library/async | 0.85 | Fiber-based async primitives for PHP: structured concurrency with cooperative multitasking. Run tasks concurrently, manage lifecycles, cancellations, and scopes predictably. Part of PHP Standard Library; docs and guides at php-standard-library.dev. | 2 | 2 | 0 | 110K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| m6web/php-process-manager-bundle | 0.85 | A Symfony bundle for managing long-running PHP background processes and workers. Configure commands, start and stop them, monitor status, and handle graceful restarts with logging, so daemons and queue workers stay supervised without custom glue code. | 98 | 102 | 9 | 0 | 1 | 0.7 | 0.3 | MIT | 10 years ago |
How can I help you explore Laravel packages today?