eo/redirect-bundle
EoRedirectBundle is a Symfony 2.1+ bundle for handling redirects, installable via Composer and enabled in AppKernel. It is released under the MIT license, with issues and feature requests tracked on GitHub.
RedirectResponse. In Laravel that is one migration, one Eloquent model, one global middleware, and a small CRUD screen — roughly 150–300 lines. Buying this package saves days at most, imports a dependency you own forever, and still leaves you auditing unaudited source.EoRedirectBundle, registered in AppKernel::registerBundles(), Symfony 2.1+). There is no service provider, no config/redirect.php, no publishable migration. As PM, treat that as a disqualifier before an engineering spike is scheduled, and correct the catalogue entry so it isn't re-evaluated next quarter.dev-master as the only documented install target, and readme-level maturity (no tests, no CI, no changelog, no security policy). That's a clean worked example for codifying an internal adoption bar: pinned releases, tests, maintained upstream, audited license, named escalation path.Adopt only if all of the following hold — and expect the answer to remain no:
dev-master with no tagged release, and will vendor-pin a specific commit hash, read the source yourself, and fork it if needed — there is no community review, no security disclosure channel, and no upgrade history.Look elsewhere — or build — if any of these are true:
To executives: We evaluated eo/redirect-bundle for redirect management and recommend against adoption. It is a Symfony2 component being considered for a Laravel codebase — it will not run on our stack without a rewrite. Beyond the mismatch, it is effectively unmaintained: no stable release, no tests, no changelog, no dependents, a single author. The capability itself is small: a redirect table plus a middleware. We can own it internally in a few days, with tests and monitoring we control. Recommendation: build it, keep the SEO-critical path in-house, and record this as a rejected candidate with the reason so we don't re-evaluate it.
To engineering: This is a Symfony2 bundle, not a Laravel package — do not schedule a spike against it. Even on Symfony it ships as dev-master only, with installation-only documentation and no test suite, so we'd be reviewing and pinning source ourselves anyway. Implement natively: a redirects table (source path unique-indexed, target URL, status code default 301, active flag, hit count, last hit), a model with a cached lookup, and a global middleware registered ahead of the router that redirects on match and passes through otherwise. Add loop/cycle detection at write time, restrict targets to relative paths or an allowlisted host set to close the open-redirect hole, collapse chains on save, and test 301-vs-302 caching semantics. Optionally log unmatched paths to a redirect_candidates table for editorial review. That is less work than porting and auditing the bundle, and it leaves us with something we can monitor and evolve.
Risk summary for the record: platform incompatibility, unmaintained upstream, unstable dev-master constraint, zero community validation, EOL framework lineage, and SEO-critical, security-sensitive behaviour with no correctness guarantees. If a legacy Symfony app must temporarily retain it, pin to a commit hash and gate any replacement behind a shadow-run against production access logs before cutover.
How can I help you explore Laravel packages today?