Lightweight PHP WebSocket server handling several clients.
PHP Push WebSocket is an implementation of the WebSocket protocol following the specification of RFC 6455. It also includes a client side for examples.
To install the latest stable version:
composer require "srchea/php-push-web-socket"
- run a server instance:
- Open websocket_client.html in a browser over HTTP protocol.
- Instant messenger
- Push app notifications
- Shared applications like presentation (slides), collaborative text editors
- Data monitoring, and much more
Here is a blog post about this implementation: http://srchea.com/build-a-real-time-application-using-html5-websockets
Feel free to contribute! :-)