Download the PHP package diveshopx/content-auto-update-multi-room-socket without Composer
On this page you can find all versions of the php package diveshopx/content-auto-update-multi-room-socket. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download diveshopx/content-auto-update-multi-room-socket
More information about diveshopx/content-auto-update-multi-room-socket
Files in diveshopx/content-auto-update-multi-room-socket
Package content-auto-update-multi-room-socket
Short Description A multi user multi room web socket server which updates the content automatically by using socket in php
License MIT
Homepage https://github.com/diveshopx/content-auto-update-multi-room-socket
Informations about the package content-auto-update-multi-room-socket
content-auto-update-multi-room-socket
Introduction
A multi user multi room web socket server.
Requirements
This library package requires PHP 5.4 or later.
Installation
Installing via Composer
The recommended way to install content-auto-update-multi-room-socket is through Composer.
Next, run the Composer command to install the latest version of content-auto-update-multi-room-socket:
After installing, you need to require Composer's autoloader:
Usage
An example is provided in the example/ directory. Start the server with the command:
php example/server.php
An example HTML client interface is located at example/client.html. You will need to update the notificationUrl variable in example/notification.js with the host name (or ip address) of the server you ran the previous command on.
var notificationUrl = 'ws://your-host-name:9911';
Version History
0.1.3 (20/01/2018)
- Additional params added.
0.1.2 (16/01/2018)
- Origin check added.
0.1.1 (04/01/2018)
- connectedNotification method added as a hook.
0.1.0 (04/01/2018)
- First public release of content-auto-update-multi-room-socket
Copyright
content-auto-update-multi-room-socket Copyright (c) 2018 divshopx ([email protected]) All rights reserved.