/websockets-ratchet-zeromq-php-example

Example project of using websockets with PHP + Ratchet + ZeroMQ

Primary LanguageJavaScript

PHP + Ratchet + ZeroMQ = Websockets

Example project of using websockets with PHP + Ratchet + ZeroMQ

Basic terminal usage:

Open diferent terminals and run one command in each one:

  1. php chat-server.php
  2. telnet localhost 8080
  3. telnet localhost 8080

Send data from each terminal and see the magic!

Basic web usage

Open two browser tabs and:

  1. Open index.html.
  2. Open console debugger.
  3. On the second tab click submit.
  4. See the first tab's console.