https://github.com/kelunik/demo-chat
A small demo chat based on Aerys.
https://github.com/kelunik/demo-chat
aerys amphp async php
Last synced: 3 months ago
JSON representation
A small demo chat based on Aerys.
- Host: GitHub
- URL: https://github.com/kelunik/demo-chat
- Owner: kelunik
- Created: 2015-10-14T12:18:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T07:35:08.000Z (over 7 years ago)
- Last Synced: 2025-03-16T18:11:57.280Z (3 months ago)
- Topics: aerys, amphp, async, php
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 20
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# demo-chat
Introduction to Aerys WebSockets.
## Running
```bash
# Install dependencies.
composer install# Run Aerys in debug mode.
# Debug mode ensures we're only using a single worker. Otherwise we might end
# up with two websocket clients connecting to two different workers.
# Later you would replace the current broadcasting with something like Redis, so
# you can have as many workers as you'd like.
vendor/bin/aerys -c aerys.php -d
```