Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 686 Bytes

readme.md

File metadata and controls

37 lines (28 loc) · 686 Bytes

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.