react/promise-stream
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| react/event-loop | 0.89 | 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 | |
| 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/stream | 0.86 | Event-driven readable and writable streams for non-blocking I/O in ReactPHP. Process large data in small chunks with async-friendly stream interfaces and resource-based streams, with support for piping, backpressure, errors, and duplex streams. | 688 | 691 | 63 | 5M | 1 | 34.8 | 64.6 | MIT | 1 year 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.83 | 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 | 1 | 45.9 | 56.4 | MIT | 7 months ago | |
| react/async | 0.81 | 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 | |
| php-standard-library/promise | 0.78 | 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 |
How can I help you explore Laravel packages today?