Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 tutorial

Fixed & improved legacy code examples.