rxthunder / react-php
Provide helpers for evented I/O
1.0.0
2020-01-08 14:59 UTC
Requires
- php: ^7.4
- react/event-loop: ^1.1.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpstan/phpstan: ^0.12.0
- youdot/coding-standard: ^2.0
This package is auto-updated.
Last update: 2024-12-09 02:01:02 UTC
README
Infos
The difference with voryx/event-loop implementation is that this one doesn't start automatically the loop.
Installation
composer install rxthunder/react-php
Usage
use React\EventLoop\Factory; use RxThunder\ReactPHP\EventLoop; $ev = EventLoop::getLoop(); $other_ev = Factory::create(); EventLoop::setLoop($other_ev);