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). | 337 | 340 | 71 | 10K | 15 | 34.0 | 33.1 | 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 | 5M | 2 | 39.1 | 60.0 | MIT | 4 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 | 105 | 0 | 20.9 | 28.1 | MIT | 4 years ago | |
| react/cache | 0.86 | 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 | |
| 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,455 | 2,472 | 151 | 7M | 0 | 45.8 | 56.4 | MIT | 7 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 | 87K | 1 | 24.7 | 46.7 | 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. | 223 | 221 | 19 | 475K | 2 | 25.9 | 56.3 | MIT | 1 year ago | |
| clue/buzz-react | 0.80 | Async HTTP client for ReactPHP built on Buzz: send concurrent requests, stream responses, and integrate with event-loop apps. Lightweight, promise-based API for non-blocking web calls in long-running CLI/daemon services. | 350 | — | 38 | — | 1 | 23.0 | — | MIT | 5 years 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 | 11K | 1 | 24.7 | 30.3 | MIT | 4 years ago | |
| php-standard-library/promise | 0.79 | 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 | |
| guzzlehttp/promises | 0.78 | Iterative promise chaining for infinite async operations with Guzzle HTTP. Supports Promises/A+ compliance, coroutine-style await via Coroutine::of(), and synchronous wait() method. Cancel promises mid-execution and handle rejection/fulfillment callbacks cleanly. Works with any object with a then()... | 7,719 | 7,756 | 125 | 16M | 13 | 57.8 | 59.6 | MIT | 7 months ago |
How can I help you explore Laravel packages today?