php-pm/httpkernel-adapter
HttpKernel adapter for PHP-PM, letting Symfony and other HttpKernel applications run on a persistent worker process. It bootstraps the kernel once per worker and dispatches requests efficiently, reducing per-request overhead and improving performance.
HttpKernel app run inside PHP-PM's persistent worker processes instead of per-request PHP-FPM bootstrap. It is an enabler for the decision "do we move off FPM to a resident-worker runtime?" — not a feature in itself.Consider it when:
Look elsewhere when:
HttpKernel consumer, or relies heavily on request-teardown semantics.To executives: This is a low-cost, low-commitment experiment that tests whether we can serve the same traffic with fewer PHP processes, which directly maps to lower compute spend and better latency. It is not a recommendation to adopt — it is a de-risked way to quantify the upside before we fund a runtime migration. The package itself is niche and thinly maintained, so we would treat the spike as a measurement exercise and, if the numbers justify it, standardize on a well-supported runtime (likely Octane or FrankenPHP) rather than this adapter.
To engineering: The adapter is a thin HttpKernel bridge that lets Symfony/Laravel boot once and serve many requests under PHP-PM. It requires no application rewrite to try, which makes it a cheap probe — but it also exposes every hidden piece of singleton and static state in the app. Plan the spike as: baseline FPM metrics → adapter under PHP-PM on a representative endpoint → targeted audit of stateful services → decision memo. Budget for the audit, not just the benchmark; the audit is the durable output regardless of which runtime we pick.
How can I help you explore Laravel packages today?