WebSockets in PHP Presentation slides are available at /res/slides/index.html server.php shows how to set up a Ratchet server client.html shows how to connect with JavaScript supervisord config file is also in /res