Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Http Kernel Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

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:

  • Which kernel methods are actually overridden, and what behavior do they encode (routing, request transformation, response post-processing, exception handling)?
  • Is that behavior already expressible as kernel events, a middleware, or a decorator around the native kernel?
  • What are the package's PHP/Symfony constraint ranges, and does any target app even satisfy them?
  • Is there a maintained fork, or is this a dead end?

Integration Approach

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.

  1. Inventory — confirm no internal usage (0 public dependents makes this cheap; grep the org for the package name and for any forked kernel class).
  2. Extract — copy the kernel class into a scratch branch and annotate each overridden method with the native equivalent.
  3. Rebuild — implement the identified behavior natively behind the existing test suite; if no tests exist, write characterization tests against the old behavior first.
  4. Cut over — remove the dependency, delete the adapter shim, and pin the native kernel version explicitly.

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.

Operational Impact

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.

  • Composer resolution hard-fail on any dependency refresh that pulls a modern symfony/http-kernel.
  • Fatal errors on PHP minor upgrades from removed/deprecated syntax in the kernel subclass.
  • Unpatched CVEs in request parsing, header handling, or exception rendering, with no path to a fix.
  • Silent behavioral drift as surrounding Symfony components evolve under a frozen kernel — the worst mode, since it manifests as subtle request/response differences rather than a loud break.

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons