react / chatroulette
This package is abandoned and no longer maintained.
No replacement package was suggested.
ExampleChatWithRandomStranger sample application.
dev-master
2017-05-16 13:04 UTC
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.