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). | 339 | 341 | 70 | 10K | 15 | 14.0 | 27.6 | 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,330 | 1,345 | 130 | 7M | 2 | 26.2 | 55.3 | MIT | 8 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 | 304 | 0 | 0.9 | 27.0 | 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. | 2,456 | 2,475 | 149 | 9M | 0 | 27.3 | 49.8 | MIT | 11 months 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 | 78K | 1 | 4.7 | 39.0 | 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,091 | 9,114 | 714 | 23K | 0 | 46.9 | 7.6 | MIT | 3 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 | 242K | 2 | 5.9 | 43.7 | 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. | 54 | 54 | 1 | 158K | 0 | 6.7 | 50.2 | MIT | 9 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 | 13K | 1 | 4.7 | 26.4 | 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 | 20.4 | MIT | — | |
| guzzlehttp/promises | 0.79 | Promises/A+ implementation for PHP with iterative, stack-safe chaining. Provides synchronous wait(), cancellation, interop with any thenable, and coroutine-style async/await via Coroutine::of(). Includes Promise, FulfilledPromise, and RejectedPromise. | 7,716 | 7,749 | 126 | 18M | 2 | 55.9 | 54.5 | MIT | 3 days ago | |
| 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 | 30K | 0 | 20.1 | 64.3 | MIT | 2 months ago |
How can I help you explore Laravel packages today?