pffphp/application

Reusable HTTP application orchestration for PFF

Maintainers

Package info

github.com/pffphp/application

pkg:composer/pffphp/application

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-08-05 07:43 UTC

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/webserver for HTTP routing and PSR-15 handling.
  • pff/websocket for WebSocket connection and frame dispatch.
  • pff/mqtt for 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.