skigun/legacy-wrapper-bundle
A Symfony bundle that wraps legacy PHP applications in a modern Symfony layer, helping you run and integrate older codebases alongside current routing, services, and configuration. Useful for incremental migrations and gradual modernization without a full rewrite.
TheodoEvolutionLegacyWrapperBundle, Symfony 1.x→2.x era). If your stack is Laravel, it does not support your build decisions — it only informs them as a readable design reference. Its in-process dispatch model has no Laravel analogue (no bundle system, no HttpKernel sub-request contract).Treat it as reference reading when all of the following hold:
Look elsewhere — or do not adopt at all — when:
symfony/symfony ~2.x constraints. It will not install; any port is a rewrite of the dispatch layer, not an upgrade.Set-Cookie headers surfacing inside the modern request lifecycle) and provides no observability hooks.PM recommendation: adopt the pattern, reject the package. Fund a proxy-based seam in sprint one, then carve out route families. Budget days, not weeks, for the seam itself — and spend the saved effort on the security review and instrumentation the package cannot provide.
For executives: This is not a purchase — it is a migration-strategy decision. The package is a small, unmaintained, zero-adoption Symfony component that demonstrates how to keep users logged in while we rebuild a legacy application piece by piece. Its value is proof that incremental migration is technically viable, which lets us avoid a risky big-bang rewrite and ship customer-facing features quarters sooner instead of freezing the roadmap. We should not take a dependency on it; we borrow the architecture and implement it ourselves — a reverse proxy plus a supported identity/session mechanism — for negligible cost. Risk avoided: an unsupported third-party component sitting on our authentication path, and a maintenance liability with no upstream to patch it.
For engineering: It is a Symfony bundle that bridges legacy PHP session/auth into a modern Symfony kernel by dispatching sub-requests into the legacy front controller. Zero stars, zero dependents, no issue history — treat it as a design reference only. Read it for the route-fallback discipline and the session-bridging checklist, then implement the seam at the proxy layer: unmatched paths go to the legacy vhost, Laravel/Symfony owns new routes, session coherence comes from a signed interop token rather than a shared session store. That gives us one domain, independent deploys and scaling per tier, and a single rollback lever. Only escalate to a middleware proxy — and only then to owning a fork — if the proxy is genuinely blocked by an infrastructure constraint we cannot negotiate. Either way, instrument both sides of the seam with correlation IDs and per-route-family error rates before go-live, so on-call debugs from data and not folklore.
How can I help you explore Laravel packages today?