Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 1 day 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: 2024-11-22T14:12:03.282Z (2 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.