{"id":87198,"library":"react-http","title":"ReactPHP HTTP","description":"Event-driven, streaming HTTP client and server implementation for ReactPHP.","status":"active","version":"1.11.0","language":"php","source_language":null,"source_url":"https://github.com/reactphp/http","tags":["reactphp","http","server","client","event-driven","streaming"],"install":[{"cmd":"composer require react/http","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Server","correct":"use React\\Http\\Server;"}],"quickstart":{"code":"use React\\Http\\Server;\nuse React\\EventLoop\\Factory;\nuse Psr\\Http\\Message\\ServerRequestInterface;\n\n$loop = Factory::create();\n$server = new Server($loop, function (ServerRequestInterface $request) {\n    return new React\\Http\\Response(200, ['Content-Type' => 'text/plain'], \"Hello World\\n\");\n});\n$socket = new React\\Socket\\Server(8080, $loop);\n$server->listen($socket);\n$loop->run();","lang":"php","description":"Creates a simple HTTP server that responds with 'Hello World'."},"warnings":[{"fix":"Ensure PHP version is 7.4 or higher and install react/event-loop.","message":"Requires PHP 7.4+ and ReactPHP event loop.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'client':8,17 'driven':5,20 'event':4,19 'event-driven':3,18 'http':2,7,15 'implement':11 'reactphp':1,13,14 'server':10,16 'stream':6,21","created_at":"2026-06-19T08:14:52.384128+00:00","updated_at":"2026-06-19T08:14:52.384128+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/http","github":"https://github.com/reactphp/http","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","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}}