Testing out HTML5's Websocket feature using Ratchet that runs via PHP CLI
Learn about how to use these files here: https://phpdave.wordpress.com/2015/07/01/testing-out-html5-websockets-using-php-cli-and-two-browsers/
Learn about Ratchet here: http://socketo.me/
- In a command line change to the root directory
- Run php bin/chat-server.php to start the PHP Ratchet websocket server
- Open test.html or testJSONJavascriptAlert.html in two browsers to play with sending data across a websocket