{"id":92313,"library":"react-promise-stream","title":"ReactPHP Promise Stream","description":"The missing link between Promise-land and Stream-land for ReactPHP","status":"active","version":"1.7.0","language":"php","source_language":null,"source_url":"https://github.com/reactphp/promise-stream","tags":["reactphp","promise","stream","async"],"install":[{"cmd":"composer require react/promise-stream","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"UnwrapReadableStream","correct":"use React\\Promise\\Stream\\UnwrapReadableStream;"}],"quickstart":{"code":"use React\\Promise\\Stream\\UnwrapReadableStream;\n\n$stream = new UnwrapReadableStream($promise);\n$stream->on('data', function ($data) {\n    echo $data;\n});","lang":"php","description":"Convert a promise to a readable stream"},"warnings":[{"fix":"Ensure you have an event loop running (e.g., React\\EventLoop\\Loop::run()).","message":"Requires ReactPHP event loop to be running.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'async':20 'land':10,14 'link':6 'miss':5 'promis':2,9,18 'promise-land':8 'reactphp':1,16,17 'stream':3,13,19 'stream-land':12","created_at":"2026-06-19T09:30:47.604487+00:00","updated_at":"2026-06-19T09:30:47.604487+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/reactphp/promise-stream","github":"https://github.com/reactphp/promise-stream","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}