react / chatroulette
ExampleChatWithRandomStranger sample application.
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 42
Watchers: 12
Forks: 8
pkg:composer/react/chatroulette
Requires
- php: >=5.4.0
- monolog/monolog: 1.2.*
- react/socket: 0.2.*
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2019-02-20 17:17:57 UTC
README
Sample application where 2 people are randomly paired up who connect and are able to send messages to eachother.
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.