reactphp-legacy / ExampleChatWithRandomStranger

ExampleChatWithRandomStranger sample application.
MIT License
44 stars 6 forks source link

React/ExampleChatWithRandomStranger

Sample application where 2 people are randomly paired up who connect and are able to send messages to eachother.

Build Status

Install

$ composer install

Usage

To start the ExampleChatWithRandomStranger server, run:

$ php server.php

In order to connect to it, use netcat:

$ nc localhost 4000

Tests

$ bin/phpunit

License

MIT, see LICENSE.