https://github.com/koutsoumposval/reactphp-examples
ReactPHP examples for learning purposes.
https://github.com/koutsoumposval/reactphp-examples
promises reactphp reactphp-server socket-server streams ticks timers
Last synced: about 1 month ago
JSON representation
ReactPHP examples for learning purposes.
- Host: GitHub
- URL: https://github.com/koutsoumposval/reactphp-examples
- Owner: koutsoumposval
- Created: 2017-10-15T10:23:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-15T16:18:32.000Z (over 7 years ago)
- Last Synced: 2025-01-23T01:31:31.428Z (3 months ago)
- Topics: promises, reactphp, reactphp-server, socket-server, streams, ticks, timers
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
ReactPHP examples
==================
Simple reactPHP examples for learning purposes.Topics
------------------
The topics of the examples will be:* Timers (run/timer/sleep)
* Promises
* Ticks (future/next)
* Streams (pipe/in/out)
* Sockets (server/client)
* Child Process (child/parent/uptime)Install Dependencies
------------------
Run composer install
```
composer install
```Run PHP scripts
------------------
Running scripts from root folder
```
php timers/periodic.php
```Credits
-------------------
Based on outdated `Cees-Jan Kiewiet` ReactPHP tutorialFixed & improved legacy code examples.