react/async
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| react/child-process | 0.86 | Event-driven child process execution for ReactPHP. Start and manage processes from the event loop, stream STDIN/STDOUT/STDERR via React streams, send signals, and receive exit events. Supports custom pipes and Windows considerations. | 340 | 345 | 49 | 4M | 6 | 29.7 | 67.2 | MIT | 3 months ago | |
| react/promise-timer | 0.85 | Add timeouts and sleep delays to ReactPHP promises. Wrap any pending operation to auto-cancel and reject with a TimeoutException if it doesn’t settle in time, or pass through resolve/reject when it does. Lightweight, function-based API. | 341 | 344 | 17 | 2M | 1 | 26.8 | 59.3 | MIT | 1 year ago | |
| react/promise | 0.84 | Lightweight Promises/A implementation for PHP. Use Deferred/Promise to resolve or reject async results, chain with then/catch/finally, cancel when supported, and combine promises with helpers like resolve/reject, all, race, and any. | 2,455 | 2,472 | 151 | 7M | 0 | 45.8 | 56.4 | MIT | 7 months ago | |
| clue/block-react | 0.84 | Lightweight bridge to run ReactPHP’s event loop in a blocking way. Lets you wait for promises and async operations from synchronous PHP code, ideal for CLI tools and scripts that need occasional async I/O without restructuring your whole app. | 156 | 154 | 16 | 11K | 1 | 24.7 | 30.3 | MIT | 4 years ago | |
| react/http | 0.84 | Event-driven, streaming HTTP client and server for ReactPHP. Send many concurrent async HTTP/HTTPS requests, handle redirects/timeouts/auth, and stream request/response bodies. Build plain HTTP or secure HTTPS servers on ReactPHP Socket and EventLoop. | 781 | 790 | 167 | 383K | 14 | 43.0 | 53.9 | MIT | 1 year ago | |
| react/cache | 0.83 | ReactPHP async cache component with Promise-based CacheInterface and an in-memory ArrayCache. Inspired by PSR-16 but designed for non-blocking apps. Supports get/set/delete, bulk operations, clear, has, and common fallback patterns. | 444 | 444 | 18 | 5M | 1 | 26.5 | 65.0 | MIT | 3 years ago | |
| wyrihaximus/async-test-utilities | 0.83 | 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 | |
| react/mysql | 0.82 | Async MySQL client for ReactPHP. Pure PHP implementation of the MySQL protocol with no extensions required. Connect via URI, run queries with promises, stream results, and manage connection lifecycle (ping/quit/close). | 337 | 340 | 71 | 10K | 15 | 34.0 | 33.1 | MIT | 2 years ago | |
| react/promise-stream | 0.81 | 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 | 87K | 1 | 24.7 | 46.7 | MIT | 2 years ago | |
| php-standard-library/async | 0.79 | 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. | 1 | 0 | 0 | 8K | 0 | 20.6 | 58.7 | MIT | 2 weeks ago | |
| wyrihaximus/phpstan-react | 0.77 | PHPStan extension for ReactPHP projects that flags blocking PHP functions (e.g., file_get_contents, fopen, fread) and suggests async React alternatives from react/filesystem, react/socket, and react/stream. Include the provided ruleset to enforce non-blocking code. | 2 | 2 | 0 | 8K | 2 | 21.0 | 55.8 | MIT | 11 months ago |
How can I help you explore Laravel packages today?