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.
buffer() and unwrapReadable() eliminate boilerplate for common stream-to-promise patternsHow can I help you explore Laravel packages today?