Basic Websocket Example. Using Ratchet IO (see http://socketo.me)
-
git clone https://github.com/kapo7789/rat.git
-
cd rat
-
curl -s http://getcomposer.org/installer | php
-
php composer.phar install
- php app.php (will start a server on 8080 port)
And then open example html with chrome or other browser supporting WebSocket techz.