litphp / runner-swoole
v0.9.0
2019-06-29 13:51 UTC
Requires
- ext-swoole: ^4
- litphp/bolt: ^0.9
- zendframework/zend-diactoros: ^2.0
Requires (Dev)
- phpstan/phpstan-phpunit: ^0.11.2
- phpstan/phpstan-shim: ^0.11.7
- phpunit/phpunit: ^7.5
- squizlabs/php_codesniffer: ^3.4
- swoole/ide-helper: @dev
This package is auto-updated.
Last update: 2024-11-29 05:33:04 UTC
README
Usage
- Install swoole (with pecl:
pecl install swoole
) - Write a php file calling
SwooleRunner::run
with your configuration, then run it with php
(see _example)
By default, the listening host & port is read from environment variable HOST
/ PORT
, and fallback to localhost:8080. This can be overridden via configuration