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
Redirect Bundle

Redirect Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Simple redirect bundle for Symfony2

Frequently asked questions about Redirect Bundle
Can I use eo/redirect-bundle in a Laravel application?
No. EoRedirectBundle is a Symfony bundle that is enabled by adding new Eo\RedirectBundle\EoRedirectBundle() to AppKernel::registerBundles(), and Laravel provides no bundle registry, no AppKernel, and a different HTTP kernel and event model. The package ships no service provider, no publishable config, and no migrations, so there is nothing to install into a Laravel app. If you need redirect management in Laravel, reimplement the concept with one migration, an Eloquent model, and a global middleware.
How do I install EoRedirectBundle?
Add "eo/redirect-bundle": "dev-master" to the require block of your composer.json and run composer update eo/redirect-bundle, which installs it to vendor/eo. Then register new Eo\RedirectBundle\EoRedirectBundle() inside registerBundles() in app/AppKernel.php. Note that dev-master is the only documented install target, so there is no tagged stable release to pin to.
Which Symfony versions does EoRedirectBundle support?
The bundle requires Symfony 2.1 or higher and was built against that era of the framework. Symfony 2.1 dates to 2012 and has been end-of-life for years, and there is no indication of support for Symfony 3, 4, 5, 6, or 7. Adopting it effectively ties the service to an unsupported framework version, which is a roadmap and audit concern rather than just a coding preference.
Is eo/redirect-bundle actively maintained?
The available signals say no: zero stars, zero dependents, a single maintainer, and no cited commit or issue activity. There are also no tests, no CI pipeline, no changelog, no upgrade guide, and no security policy or disclosure path. That means any defect you hit will be discovered and fixed by your own team, in production, rather than upstream.
Why can I only install eo/redirect-bundle with dev-master?
The README documents only dev-master as an install target, which means the package publishes no semantic version tags. Without tags, builds are not reproducible and a routine composer update can change production behavior with no reviewable diff. If you are forced to use it, pin an explicit commit hash and treat every update as a code review item.
What are the alternatives to EoRedirectBundle for Laravel?
Build the capability in-house: a redirects table with source path, target path, and status code, an Eloquent model, a global middleware or 404 handler that resolves the current path and returns a redirect, plus a small admin CRUD screen and caching. For 404 capture-and-suggest specifically, packages such as spatie/laravel-missing-page-redirector cover a similar niche. Either route removes the external dependency, and the work is measured in days rather than months.
Does EoRedirectBundle store redirects in a database or in config files?
The README does not document where redirect rules live, so you must confirm whether the bundle uses a Doctrine entity or static YAML configuration before assuming there is data worth migrating. This matters because it determines whether you inherit a rules table with an owner and content, or just a design pattern. If rules are Doctrine-backed, plan a migration into Eloquent plus a content ownership handover.
Is EoRedirectBundle a security risk for redirect handling?
Redirect subsystems sit directly in the request path and are a classic open-redirect and header-injection vector. This bundle is unaudited and unmaintained and publishes no security disclosure process, so any flaw becomes yours to find in production. If you build the equivalent in Laravel, validate destinations, allowlist hosts, reject user-controlled targets, and never echo request input into a Location header unescaped.
How should I test redirect handling if I reimplement it in Laravel?
Write feature tests that hit routes and assert with assertRedirect() for exact path matches, unknown paths, and status code correctness. Cover the edge cases explicitly: query-string preservation, wildcard or regex matching, chain collapsing so A to B to C resolves in one hop, and loop detection. Run them against an in-memory SQLite database so the suite stays fast and needs no external services.
What matching semantics and per-request cost should I expect from a redirect layer?
The bundle's README does not specify matching behavior, so you would need to verify whether it supports exact path only or also wildcard and regex patterns, whether query strings are preserved, and how chains collapse. Equally important is where the lookup runs: on every request through a listener, or only after a 404 is raised. For a Laravel build, prefer resolving redirects in 404 handling with a cached rule map so the SEO-critical request path stays cheap.
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.
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
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console