{"id":95762,"library":"workerman-phpsocket-io","title":"Workerman PHPSocket.IO","description":"A server side alternative implementation of socket.io in PHP based on Workerman.","status":"active","version":"2.3.0","language":"php","source_language":null,"source_url":"https://github.com/walkor/phpsocket.io","tags":["socket.io","websocket","workerman","realtime"],"install":[{"cmd":"composer require workerman/phpsocket.io","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"SocketIO","correct":"use PHPSocketIO\\SocketIO;"}],"quickstart":{"code":"use PHPSocketIO\\SocketIO;\n\n$io = new SocketIO(2020);\n$io->on('connection', function ($socket) {\n    echo \"New connection\\n\";\n});\n$io->start();","lang":"php","description":"Start a Socket.IO server on port 2020."},"warnings":[{"fix":"Ensure pcntl and posix extensions are installed for Linux.","message":"Requires Workerman and may have compatibility issues with some PHP extensions.","severity":"gotcha","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'altern':6 'base':12 'implement':7 'php':11 'phpsocket.io':2 'realtim':18 'server':4 'side':5 'socket.io':9,15 'websocket':16 'workerman':1,14,17","created_at":"2026-06-19T10:41:44.863167+00:00","updated_at":"2026-06-19T10:41:44.863167+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://www.workerman.net","github":"https://github.com/walkor/phpsocket.io","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}}