litphp / runner-swoole
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/litphp/runner-swoole
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: 2025-09-29 02:02:45 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