An open API service indexing awesome lists of open source software.

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

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...