react/promise-timer
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| react/mysql | 0.88 | 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). | 338 | 340 | 70 | 11K | 15 | 13.9 | 28.2 | MIT | 2 years ago | |
| react/event-loop | 0.87 | ReactPHP’s core event loop for evented I/O. Provides a shared LoopInterface so async libraries interoperate on a single loop with one run() call. Includes timers, future ticks, stream and signal watchers, plus multiple backend implementations. | 1,328 | 1,343 | 131 | 6M | 2 | 28.5 | 56.3 | MIT | 6 months ago | |
| davidcole1340/reactsh | 0.86 | Reactsh provides a lightweight Laravel/PHP bridge for working with React and modern frontend tooling. It aims to simplify integrating React components into server-rendered apps with straightforward setup and sensible defaults for local development and builds. | 1 | 1 | 0 | 200 | 0 | 0.9 | 27.7 | MIT | 4 years ago | |
| react/promise | 0.85 | 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. | 0 | 2,470 | — | 8M | — | 30.2 | 50.5 | — | — | |
| 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 | 84K | 1 | 4.7 | 39.5 | MIT | 2 years ago | |
| react/react | 0.83 | ReactPHP is an event-driven, non-blocking I/O toolkit for PHP. Built around an event loop, it provides async building blocks like streams, DNS, sockets, HTTP client/server and process control—ideal for fast network services and long-running apps. | 9,085 | 9,107 | 717 | 29K | 0 | 46.9 | 8.6 | MIT | 2 years ago | |
| react/async | 0.82 | 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. | 222 | 223 | 18 | 191K | 2 | 5.9 | 42.3 | MIT | 2 years ago | |
| internal/promise | 0.80 | Lightweight Promises/A implementation for PHP (fork of reactphp/promise). PHP 8.1+ compatible with strict types and improved type annotations. Drop-in replacement for react/promise v2/v3 with reusable rejection handling and safer defaults. | 53 | 53 | 1 | 154K | 0 | 9.1 | 51.0 | MIT | 7 months ago | |
| clue/block-react | 0.80 | 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 | 21K | 1 | 4.7 | 29.3 | MIT | 4 years ago | |
| react/partial | 0.80 | Lightweight partial function application for PHP. Pre-fill (bind) some arguments of any callable and get back a new callable with fewer required params—handy for async callbacks and event handlers where you need to pass extra context without verbose closures. | 114 | 115 | 6 | 3K | 0 | 0.8 | 19.9 | MIT | — | |
| php-standard-library/promise | 0.79 | Lightweight Promise implementation for PHP with a simple, standards-inspired API. Create, resolve, reject, and chain async-style operations, handle errors, and compose results with familiar then/catch patterns—ideal for libraries that need non-blocking workflows. | 1 | 1 | 0 | 29K | 0 | 21.2 | 64.8 | MIT | 1 week ago |
How can I help you explore Laravel packages today?