https://github.com/millsoft/php-websockets-demo
A simple demo for php websockets using ratchet
https://github.com/millsoft/php-websockets-demo
Last synced: 10 months ago
JSON representation
A simple demo for php websockets using ratchet
- Host: GitHub
- URL: https://github.com/millsoft/php-websockets-demo
- Owner: millsoft
- Created: 2020-06-08T15:47:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T15:48:10.000Z (about 6 years ago)
- Last Synced: 2025-03-01T00:56:36.422Z (over 1 year ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple PHP Websockets Demo
A small demo project based on ratchet.
## Requirments
- php 7.x
- composer
## Installation
```
composer install
```
## Run the server
```
php app.php
```
## Test it
open test.html in your browser, open the developer console and look whats going on with the websockets.
You can open the file twice to send a message to another window...