m6web/http-kernel-bundle
Symfony bundle that integrates a PSR-7/PSR-15 middleware-based HTTP kernel, letting you run Symfony applications with middleware request handling and configure the kernel through standard bundle services and configuration.
Architecture fit — poor, with a stack mismatch to flag first. Despite being routed through a "Laravel/PHP package" evaluation, m6web/http-kernel-bundle is a Symfony bundle, not a Laravel package. It ships a custom HttpKernel for the Symfony FrameworkBundle bundle system. Laravel has no bundle/Bundle class concept; it consumes Symfony components (including symfony/http-kernel) directly through Illuminate\Foundation\Http\Kernel. There is no architecture seam where this package plugs into a Laravel application. Even in a Symfony application, the fit is deliberately bad: the repo is marked DEPRECATED and archived, and the maintainer's own guidance is to use the stock kernel.
Integration feasibility — effectively zero as-is. Dropping it into Laravel would require reimplementing it as a service provider plus middleware, which is a rewrite, not an integration. The realistic path is behavioral extraction: read the overridden kernel methods, map them to Laravel's bootstrap()/middleware pipeline or Symfony's kernel events/HttpKernelInterface decorators, and rebuild natively. With 0 dependents and 3 stars, there is no ecosystem evidence, no examples, and no third-party validation to lean on.
Technical risk — critical. Last release 2020-03-16, predating PHP 8 and the Symfony 5.x/6.x/7.x lines. Archived means no security patches for request-handling code — the highest-blast-radius surface in any web app. Installing it drags stale symfony/http-kernel constraints into the dependency graph and will conflict with any modern tree. The score of 0.0525 is directionally correct; the opportunity: 17.12 figure looks like a heuristic artifact — the opportunity here is replacement, not adoption.
Key questions for the spike:
Stack fit. Treat as incompatible for Laravel and as deprecated for Symfony. Do not add it to a composer.json in either stack. The correct integration is a port: enumerate the bundle's kernel subclass, diff it against the native kernel, and re-express each override at a supported extension point — Laravel middleware / Application::bootstrap() / a custom Illuminate\Contracts\Http\Kernel, or Symfony kernel event listeners and an HttpKernelInterface decorator.
Migration path.
Compatibility. Assume PHP 7.x-era constraints and Symfony 3/4 semantics. Verify against composer.json before planning anything; if the constraint set is pre-PHP 8, the code will not even parse cleanly under supported runtimes without edits. Budget for a compatibility patch to the extracted code, not the package.
Sequencing. Do the extraction spike before committing scope — the override surface is likely small (a custom kernel bundle usually wraps a handful of methods), and the whole effort may collapse to a single middleware. Gate removal on the replacement passing the characterization tests, then delete in the same PR to prevent partial states. If any consumer exists, ship the native replacement one release ahead of the dependency removal.
Maintenance. Zero upstream maintenance — archived, no maintainer, no release cadence. Every future PHP or Symfony upgrade is your problem. Effective ownership transfers to your team the moment it's installed.
Support. No community to escalate to: 3 stars, 0 dependents, no issue traffic, no Stack Overflow corpus. Internal knowledge will be one engineer deep unless the extraction is documented.
Scaling. Kernel customization does not affect horizontal scaling characteristics. The real scaling concern is organizational: an unpatched request-handling layer becomes a compliance and audit finding as the runtime ages out of vendor support.
Failure modes.
symfony/http-kernel.Ramp-up. Low cost to read (small bundle, few classes) but high cost to own. Expect a 1–2 day spike to characterize the override surface, and 3–10 engineer-days to replace it cleanly with tests, depending on how much logic is buried in the custom kernel. The dominant expense is not the code — it's the absence of a vendor.
How can I help you explore Laravel packages today?