{"id":88152,"library":"ratchet-pawl","title":"Ratchet Pawl","description":"Asynchronous WebSocket client","status":"active","version":"0.4.3","language":"php","source_language":null,"source_url":"https://github.com/ratchetphp/Pawl","tags":["websocket","async","client","ratchet"],"install":[{"cmd":"composer require ratchet/pawl","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"WebSocket","correct":"use Ratchet\\Client\\WebSocket;"}],"quickstart":{"code":"use Ratchet\\Client\\WebSocket;\n\n$client = new WebSocket('ws://example.com');\n$client->on('message', function ($msg) { echo $msg; });","lang":"php","description":"Connect to a WebSocket server and listen for messages."},"warnings":[{"fix":"Install react/event-loop and run the loop after connecting.","message":"Requires an event loop (e.g., ReactPHP) to run asynchronously.","severity":"gotcha","affected_versions":">=0.4.0"}],"env_vars":null,"search_vec":"'async':7 'asynchron':3 'client':5,8 'pawl':2 'ratchet':1,9 'websocket':4,6","created_at":"2026-06-19T08:27:55.472277+00:00","updated_at":"2026-06-19T08:27:55.472277+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/ratchetphp/Pawl","github":"https://github.com/ratchetphp/Pawl","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}}