Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 606 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 606 Bytes

PHP Chat example

simple chat made with phpsocket.io and socket.io client

phpsocket.io

A server side alternative implementation of socket.io in PHP based on Workerman.

Run chat example

cd examples/chat

Start php web server

php -S localhost:3000 -t public

Start Websocket server

php socket_server.php start for debug mode

php socket_server.php start -d for daemon mode

Stop Websocket server

php socket_server.php stop

Status

php socket_server.php status

License

MIT