{"id":88963,"library":"react-async","title":"ReactPHP Async","description":"Async utilities and fibers for ReactPHP.","status":"active","version":"4.3.0","language":"php","source_language":null,"source_url":"https://github.com/reactphp/async","tags":["async","reactphp","fibers","promises","utility"],"install":[{"cmd":"composer require react/async","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"async","correct":"use React\\Async\\async;"}],"quickstart":{"code":"<?php\nrequire 'vendor/autoload.php';\nuse function React\\Async\\async;\nuse function React\\Async\\await;\n$asyncFunction = async(function () {\n    $result = await(\\React\\Promise\\resolve('Hello'));\n    return $result . ' World';\n});\n$asyncFunction()->then(function ($value) {\n    echo $value; // Hello World\n});","lang":"php","description":"Write asynchronous code using async/await syntax with ReactPHP."},"warnings":[{"fix":"Upgrade PHP to 8.1 or later.","message":"Requires PHP 8.1+ for fibers support.","severity":"breaking","affected_versions":"<4.0.0"}],"env_vars":null,"search_vec":"'async':2,3,9 'fiber':6,11 'promis':12 'reactphp':1,8,10 'util':4,13","created_at":"2026-06-19T08:40:16.801216+00:00","updated_at":"2026-06-19T08:40:16.801216+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/async","github":"https://github.com/reactphp/async","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async"],"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}}