PHPackages                             genj/short-url-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. genj/short-url-bundle

AbandonedArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

genj/short-url-bundle
=====================

Symfony Short Url bundle

v1.0.4(10y ago)13.2kMITPHP

Since Jan 26Pushed 9y ago3 watchersCompare

[ Source](https://github.com/genj/GenjShortUrlBundle)[ Packagist](https://packagist.org/packages/genj/short-url-bundle)[ RSS](/packages/genj-short-url-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

GenjShortUrlBundle
==================

[](#genjshorturlbundle)

Provides a way to redirect requests based on an Entity stored in the database. Features:

- redirect client based on the request path, e.g. '/something'
- internal and external redirects to a path or url
- with start/end datetime
- configurable http status code
- keeps the query string parameters when redirecting

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

[](#installation)

Add this to your composer.json:

```
    ...
    "require": {
        ...
        "genj/short-url-bundle": "dev-master"
        ...

```

Then run `composer update`. After that is done, enable the bundle in your AppKernel.php:

```
# app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles() {
        $bundles = array(
            ...
            new Genj\ShortUrlBundle\GenjShortUrlBundle()
            ...

```

Finally, update your database schema:

```
php app/console doctrine:schema:update

```

And you're done.

Usage
-----

[](#usage)

Add a new record to your database. Example:

- source: /my-old-url
- target: /my-new-url
- httpStatusCode: 301
- publishAt: (now)

FAQ
---

[](#faq)

### My redirect is not working through app.php, but it works through app\_dev.php

[](#my-redirect-is-not-working-through-appphp-but-it-works-through-app_devphp)

If you have enabled caching, it can happen that a 404 response is stored in the http cache, so clear your caches. The redirect requests themselves have private caching headers.

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

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 ~54 days

Total

5

Last Release

3904d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d57ed47401a1ad476effd86580ad6a595cc480778030c7bce19d7536879104a?d=identicon)[genj](/maintainers/genj)

---

Top Contributors

[![slaubi](https://avatars.githubusercontent.com/u/332298?v=4)](https://github.com/slaubi "slaubi (4 commits)")[![choonge](https://avatars.githubusercontent.com/u/334814?v=4)](https://github.com/choonge "choonge (1 commits)")[![maartendekeizer](https://avatars.githubusercontent.com/u/1061334?v=4)](https://github.com/maartendekeizer "maartendekeizer (1 commits)")

---

Tags

urlsymfonybundleroutingshortenerredirectshortgenj

### Embed Badge

![Health badge](/badges/genj-short-url-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/genj-short-url-bundle/health.svg)](https://phpackages.com/packages/genj-short-url-bundle)
```

###  Alternatives

[ekreative/uuid-extra-bundle

Paramconverter, Normalizer and Form Type for Ramsey Uuid

18168.6k](/packages/ekreative-uuid-extra-bundle)

PHPackages © 2026

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