pffphp / application
Reusable HTTP application orchestration for PFF
dev-main
2026-08-05 07:43 UTC
Requires
- php: ^8.2
- ext-pcntl: *
- ext-posix: *
- pff/async: dev-main
- pff/di: dev-main
Requires (Dev)
- phpunit/phpunit: ^11.0
This package is auto-updated.
Last update: 2026-08-05 07:44:28 UTC
README
Protocol-independent application lifecycle for PHP Fiber Framework. It owns one shared DI container, configuration binding, scoped Fiber cleanup, and Composer-discovered providers and protocol applications.
$app = new Pff\Application\Application() $app->run();
Installed protocol packages are mounted through Composer discovery:
pff/webserverfor HTTP routing and PSR-15 handling.pff/websocketfor WebSocket connection and frame dispatch.pff/mqttfor MQTT sessions and packet dispatch (planned).
Every installed application runs in its own supervised worker process. Configure <app>.workers to increase its worker count; the default is one worker per application.