php-standard-library/async
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/promise | 0.87 | Lightweight PHP promise implementation for composing and coordinating async-style workflows. Create, resolve, reject, and chain promises with then/catch-style handlers, useful for deferred results, task pipelines, and bridging callback-based APIs into a cleaner flow. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks ago | |
| azjezz/psl | 0.86 | PSL is a modern, well-typed standard library for PHP 8.4+, inspired by HHVM’s HSL. It offers safer, predictable APIs for async, collections, networking, I/O, crypto, terminal UI, and robust data validation—replacing brittle built-ins with consistent alternatives. | 1,513 | 1,516 | 83 | 523K | 19 | 46.2 | 48.8 | MIT | 2 weeks ago | |
| php-standard-library/channel | 0.84 | Async channels for PHP: lightweight, standard-library-style primitives to pass values between coroutines or threads. Provides buffered/unbuffered channels, send/receive operations, closing semantics, and helpers for coordinating producers/consumers and building pipelines. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks ago | |
| amphp/http | 0.83 | Event-driven HTTP primitives for PHP 8.1+ in the AMPHP ecosystem. Provides shared building blocks for HTTP clients and servers, including IANA status codes with default reasons, RFC 6265 cookie parsing/creation (Set-Cookie/Cookie), and header utilities. | 101 | 101 | 10 | 698K | 1 | 28.0 | 62.8 | MIT | 1 year 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,812 | 2,818 | 185 | 160K | 0 | 48.3 | 28.6 | MIT | 2 months ago | |
| discord-php/http | 0.83 | Async PHP HTTP client for the Discord REST API. Built for PHP 7.4+ with an event loop and PSR-3 logging. Supports common HTTP verbs, queued requests, JSON-decoded responses, and endpoint constants with parameter binding for correct rate-limit buckets. | 25 | 25 | 8 | 12K | 0 | 30.4 | 43.5 | MIT | 1 week ago | |
| php-standard-library/fun | 0.83 | Functional programming utilities for PHP: compose and pipe callables, decorate functions, and control execution (memoize, throttle, debounce, retry, etc.). Part of PHP Standard Library with focused, reusable helpers for cleaner functional-style code. | 1 | 0 | 0 | 3K | 0 | 20.6 | 51.3 | MIT | 2 weeks ago | |
| nunomaduro/pokio | 0.80 | Pokio is a simple async API for PHP 8.3+ using pcntl forks and FFI shared memory to run closures concurrently and await results. Falls back to sequential execution if extensions aren’t available. Experimental/unsafe; intended for internal use, not production. | 745 | 711 | 39 | 218K | 0 | 26.1 | 40.1 | MIT | 4 days ago | |
| react/async | 0.79 | Async utilities and fibers for ReactPHP. Provides async/await-style control flow plus Promise combinators (delay, parallel, series, waterfall, coroutine) to simplify sequencing and coordination of non-blocking, event-loop driven operations. | 223 | 221 | 19 | 475K | 2 | 25.9 | 56.3 | MIT | 1 year ago | |
| wyrihaximus/async-test-utilities | 0.78 | Async test utilities for PHP/React tests. Extend AsyncTestCase to run each test inside a Fiber, get random namespaces/directories for filesystem tests, and control per-test or per-class timeouts via the TimeOut attribute (default 30s). | 4 | 4 | 0 | 13K | 1 | 29.5 | 55.3 | MIT | 4 days ago | |
| php-standard-library/process | 0.78 | 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 | 4K | 0 | 20.6 | 58.2 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?