Skip to content

Testing out HTML5's Websocket feature using Ratchet that runs via PHP CLI

Notifications You must be signed in to change notification settings

phpdave/WebsocketTestingWithRatchet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websocket Testing With Ratchet

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/

Get this going in 1 minute?

  1. In a command line change to the root directory
  2. Run php bin/chat-server.php to start the PHP Ratchet websocket server
  3. Open test.html or testJSONJavascriptAlert.html in two browsers to play with sending data across a websocket

About

Testing out HTML5's Websocket feature using Ratchet that runs via PHP CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published