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 Bundle Laravel Package

iltar/http-bundle

An HTTP bundle for Laravel that packages common HTTP tasks into a simple integration, making request and response handling easier in your application. Lightweight, easy to install, and designed to fit smoothly into existing Laravel projects.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit — effectively zero. Despite appearing in a Laravel/PHP package index, iltar/http-bundle is a Symfony bundle, not a Laravel package. Its description states it plainly ("Adding extra functionality to Symfony"), and its shape confirms it: a Bundle subclass registered against Symfony's HttpKernel, a DI extension, and event subscribers listening on kernel.request / kernel.response. Laravel has no bundle system; its package discovery mechanism looks for Illuminate\Support\ServiceProvider. There is no kernel to register the bundle with, and Laravel never dispatches the events its listeners subscribe to.

The one point of genuine overlap: symfony/http-foundation ships transitively in every Laravel application (Illuminate\Http\Request extends Symfony's Request; responses wrap Symfony's Response). Any class in the bundle that touches only HttpFoundation primitives is portable in principle. That is a source-extraction exercise, not an integration.

Integration feasibility — low. Realistic paths are: (a) composer require and accept that it does nothing useful, (b) copy individual classes into application code, or (c) fork and reimplement. None of these are "integration," and (a) will most likely fail on dependency resolution anyway given the package's 2017-era constraints.

Technical risk — high. Last release November 2017, archived, 39 stars, 0 dependents, opportunity score 0.1. Zero dependents is the loudest signal: no production codebase in the ecosystem has validated this package. Add bus factor 1, no CI, no security response process, and unknown PHP 8.x compatibility (dynamic properties, deprecations, signature changes in HttpFoundation between 3.x and current).

Key questions for the requesting team:

  • What specific behavior do we want from this? Method override handling, content negotiation, strict request parsing, trusted-proxy logic? Most of these are now native in both Symfony and Laravel.
  • Does any class avoid the Symfony kernel entirely and depend solely on symfony/http-foundation?
  • What PHP constraint does it declare, and does it run clean on PHP 8.2/8.3 without deprecation noise?
  • If we fork or extract, who owns it permanently?
  • Has anyone reviewed the header/proxy-handling logic for security implications before it goes into the request path?

Integration Approach

Stack fit. Poor for Laravel 10/11. The bundle targets Symfony 3.x-era conventions. The only viable fit is a targeted class extraction into an internal namespace — not a package install.

Migration path:

  1. Inventory the public API. The codebase is small; a few hours of reading should produce a complete class list.
  2. Classify each class into three buckets: portable (depends only on HttpFoundation), non-portable (depends on DI container, EventDispatcher, or Kernel), obsolete (behavior now native to modern Symfony/Laravel).
  3. Extract portable classes into app/Support/Http or a small internal composer package, carrying the MIT notice and attribution.
  4. Reimplement non-portable behavior as Laravel middleware or a service provider — that is the idiomatic translation of "kernel listener" in this stack.

Compatibility. Do not inherit the bundle's composer.json constraints. Pin against the symfony/http-foundation major version shipped with the target Laravel release and expect API drift: return types, deprecation removals, and method signature changes have accumulated across 3.x → 7.x. Composer will likely refuse to install the package in a modern application at all — worth confirming early, because that outcome alone settles the question.

Sequencing. Audit → 1–2 day spike to verify whether the desired behavior already exists natively → decide reimplement vs. extract → write feature tests through the Laravel HTTP kernel (real routes, real requests) → ship behind a flag → drop the external reference entirely. At no point add the bundle to composer.json; a path-repo fork or replace entry buys long-term maintenance obligation in exchange for nothing.

Operational Impact

Maintenance. Zero upstream. Archived means no bug fixes, no CVE response, no PHP 8.x guarantee. Every defect becomes ours on day one; budget for full ownership, not "dependency management."

Support. No vendor, no active maintainer, no community corpus. Zero dependents means no blog posts, no Stack Overflow answers, no peer teams to compare notes with. Onboarding is "read the source."

Scaling. The code sits on the HTTP request path — it runs on every request. Absolute risk is modest because the codebase is small, but this is the highest-blast-radius location to carry unmaintained code. Any exception or inefficiency in a listener translates directly into latency or 5xx rates.

Failure modes, ranked by likelihood:

  1. Composer dependency conflict with modern Symfony components — the most probable near-term outcome, and a clean one.
  2. PHP 8 deprecation warnings or fatals surfacing as 500s.
  3. Silent behavioral drift when extracted classes run against a newer HttpFoundation than they were authored for.
  4. Build reproducibility breakage if referenced via VCS and the archived repo is removed.
  5. Subtle security regression if header- or proxy-handling logic is ported without fresh review.

Ramp-up. Low effort to understand (small surface), non-trivial to validate — the cost is proving extracted behavior is correct and safe, not reading it.

Recommendation: do not adopt. Treat the repository as reference material only. If a specific behavior is genuinely needed, reimplement it as first-party Laravel middleware with tests — likely under a hundred lines. The package's own signal set (archived, 2017, 39 stars, 0 dependents, opportunity 0.1) points the same direction as the architecture analysis.

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.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect