stoufa06 / php-push-websocket
Lightweight PHP WebSocket server handling several clients.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 65
pkg:composer/stoufa06/php-push-websocket
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-10-12 14:03:14 UTC
README
PHP Push WebSocket is an implementation of the WebSocket protocol following the specification of RFC 6455. It also includes a client side for examples.
Installation with Composer
To install the latest stable version: composer require "stoufa06/php-push-websocket"
Usage
- run a server instance:
php websocket_server.php. - Open websocket_client.html in a browser over HTTP protocol.
Examples of use cases
- Instant messenger
- Push app notifications
- Shared applications like presentation (slides), collaborative text editors
- Data monitoring, and much more
Bottom line
Feel free to contribute! :-)