PHPackages                             opifer/redirect-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. opifer/redirect-bundle

AbandonedArchivedSymfony-bundle[HTTP &amp; Networking](/categories/http)

opifer/redirect-bundle
======================

Opifer Redirect Bundle

0.1.4(10y ago)24.7k21MITPHPPHP &gt;=5.4

Since May 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Opifer/RedirectBundle)[ Packagist](https://packagist.org/packages/opifer/redirect-bundle)[ Docs](https://github.com/Opifer/RedirectBundle)[ RSS](/packages/opifer-redirect-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (5)Versions (7)Used By (1)

[![Build Status](https://camo.githubusercontent.com/4d04eaecbb6731e30f20a9eb92af037283d8429d16a006dfe8768ef293007fff/68747470733a2f2f7472617669732d63692e6f72672f4f70696665722f526564697265637442756e646c652e737667)](https://travis-ci.org/Opifer/RedirectBundle)

RedirectBundle
==============

[](#redirectbundle)

Symfony Bundle to handle dynamic page redirects. Based on the [KunstmaanRedirectBundle](https://github.com/Kunstmaan/KunstmaanRedirectBundle), but refactored to require less dependencies and ease the overriding of functionality.

Installation
------------

[](#installation)

Add OpiferRedirectBundle to your composer.json

```
$ composer require opifer/redirect-bundle "~0.1"

```

And enable the bundle in `app/AppKernel.php`

```
public function registerBundles()
{
    $bundles = [
        // ...
        new Opifer\RedirectBundle\OpiferRedirectBundle(),
    ];
}
```

Add the Redirect entity

```
namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Opifer\RedirectBundle\Model\Redirect as BaseRedirect;

/**
 * @ORM\Entity()
 * @ORM\Table(name="redirect")
 */
class Redirect extends BaseRedirect
{

}
```

And define it in your config.yml:

```
opifer_redirect:
    redirect:
        class: AppBundle\Entity\Redirect
```

Optionally add the routing for the RedirectController:

```
opifer_redirect:
    resource: "@OpiferContentBundle/Resources/config/routing.yml"
    prefix: /admin/redirects
```

Add the `RedirectRouter` to your chain router. For example, when you're using [CMFRoutingBundle](https://github.com/symfony-cmf/RoutingBundle), add the `opifer.redirect.redirect_router` to the `cmf_routing` config.

```
cmf_routing:
    chain:
        routers_by_id:
            opifer.redirect.redirect_router: 200
            router.default: 100
```

Configuration reference
-----------------------

[](#configuration-reference)

```
opifer_redirect:
    redirect:
        class: ~
        manager: opifer.redirect.redirect_manager.default
        view:
            index: OpiferRedirectBundle:Redirect:index.html.twig
            create: OpiferRedirectBundle:Redirect:create.html.twig
            edit: OpiferRedirectBundle:Redirect:edit.html.twig
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Recently: every ~59 days

Total

6

Last Release

3799d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6866d9d11ab5b172391449a5751e5b7cc8840792a31d892e225e22bcd779d5ce?d=identicon)[rvanlaarhoven](/maintainers/rvanlaarhoven)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/opifer-redirect-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/opifer-redirect-bundle/health.svg)](https://phpackages.com/packages/opifer-redirect-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M370](/packages/easycorp-easyadmin-bundle)[api-platform/doctrine-orm

Doctrine ORM bridge

263.9M78](/packages/api-platform-doctrine-orm)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)[ecentria/ecentria-rest-bundle

Goal of this bundle is to simplify process of creating APIs with Symfony. We use already well-coded libraries, combine them together to simplify process and not to re-invent the wheel. We've chose REST and HATEOS to have unified standards of API requests and responses.

142.4k](/packages/ecentria-ecentria-rest-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
