PhpDev.App
sannremy/PHP-Push-WebSocket

sannremy/PHP-Push-WebSocket

Stars: 134

Forks: 69

Pull Requests: 2

Issues: 14

Watchers: 19

Last Updated: 2022-09-24 13:06:10

:arrow_up_down: Lightweight implementation of WebSocket protocol in PHP

License:

Languages: PHP, HTML

PHP Push WebSocket

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 "srchea/php-push-web-socket"

Usage

  1. run a server instance: php websocket_server.php.
  2. 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

Composer/Packagist: https://packagist.org/packages/srchea/php-push-web-socket

Feel free to contribute! :-)