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.
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:
symfony/http-foundation?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:
app/Support/Http or a small internal composer package, carrying the MIT notice and attribution.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.
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:
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.
How can I help you explore Laravel packages today?