{"id":93522,"library":"hyperf-websocket-server","title":"Hyperf WebSocket Server","description":"A websocket server library for Hyperf.","status":"active","version":"3.2.0","language":"php","source_language":null,"source_url":"https://github.com/hyperf/websocket-server","tags":["hyperf","websocket","server","swoole"],"install":[{"cmd":"composer require hyperf/websocket-server","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Server","correct":"use Hyperf\\WebSocketServer\\Server;"}],"quickstart":{"code":"use Hyperf\\WebSocketServer\\Server;\n\n$server = new Server();\n$server->on('open', function ($server, $request) {\n    echo \"Client connected\\n\";\n});\n$server->start();","lang":"php","description":"Start a basic WebSocket server."},"warnings":[{"fix":"Install swoole or swow PHP extension.","message":"Requires Swoole or Swow extension.","severity":"breaking","affected_versions":">=1.0"}],"env_vars":null,"search_vec":"'hyperf':1,9,10 'librari':7 'server':3,6,12 'swool':13 'websocket':2,5,11","created_at":"2026-06-19T09:50:04.012802+00:00","updated_at":"2026-06-19T09:50:04.012802+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://hyperf.io","github":"https://github.com/hyperf/websocket-server","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}}