PHPackages                             danbd/redirect - 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. danbd/redirect

ActiveProject[Utility &amp; Helpers](/categories/utility)

danbd/redirect
==============

V1.1(8y ago)314PHPPHP &gt;=5.3.9

Since Apr 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/danilobd/redirect)[ Packagist](https://packagist.org/packages/danbd/redirect)[ Docs](http://teste.danbd.me/redirect)[ RSS](/packages/danbd-redirect/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Redirect
========

[](#redirect)

URL redirector using Redis key-value database and Apache Server with htaccess

Any URL redirected by the htaccess file to the will be checked by redis if there is a corresponding value, if any, will redirect the visitor to the URL specified in the database.

Configuring
-----------

[](#configuring)

### Redis

[](#redis)

If it is not installed, first you need to install the Redis database. You can find instructions on how to do it on the [official website/](https://redis.io/).

In Debian/Ubuntu run the command:

```
sudo apt install redis-server

```

### Htaccess

[](#htaccess)

The .htaccess file must be enabled in the [Apache settings/](https://httpd.apache.org/docs/2.4/howto/htaccess.html/)

The file should look like this:

```
RewriteEngine on

RewriteBase /
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-l

RewriteRule ^(.*)$ index.php?url=$1 [NC]

```

If the project is not in the root folder of the domain, you need to add the path to the file:

```
RewriteRule ^(.*)$ project/index.php?url=$1 [NC]

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~8 days

Total

2

Last Release

2934d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f99203055c2c7ebd0903e4d391b50c0a3da5fa150b1dec9bb9e07d101344f43?d=identicon)[danbd](/maintainers/danbd)

---

Top Contributors

[![danilobd](https://avatars.githubusercontent.com/u/16763395?v=4)](https://github.com/danilobd "danilobd (5 commits)")

### Embed Badge

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

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[php-junior/laravel-video-chat

Laravel Video Chat using Socket.IO and WebRTC

82018.1k](/packages/php-junior-laravel-video-chat)[vcian/pulse-active-sessions

A Laravel Pulse card to show active user session.

11469.2k](/packages/vcian-pulse-active-sessions)[splitsoftware/split-sdk-php

Split SDK for PHP

161.3M2](/packages/splitsoftware-split-sdk-php)[vwo/vwo-php-sdk

VWO server side sdk

12166.4k](/packages/vwo-vwo-php-sdk)

PHPackages © 2026

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