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

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

codeinc/redirect-middleware
===========================

A PSR-15 middleware to handle redirections

1.0.0(8y ago)06MITPHPPHP &gt;=7.1

Since May 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/CodeIncHQ/RedirectMiddleware)[ Packagist](https://packagist.org/packages/codeinc/redirect-middleware)[ Docs](https://github.com/CodeIncHQ/GoogleOAuth2Middleware)[ RSS](/packages/codeinc-redirect-middleware/feed)WikiDiscussions master Synced 2d ago

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

Redirect Middleware
===================

[](#redirect-middleware)

The PSR 7.1 library provides PSR-15 middleware to handle redirections. `RedirectMiddleware` is the base middleware using redirect URIs as `/go?to=https://www.example.org` while `SecureRedirectMiddleware` uses the [firebase/php-jwt](https://github.com/firebase/php-jwt) library to encrypt the redirect URL in a [JSON web token](https://jwt.io/).

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

[](#installation)

This library is available through [Packagist](https://packagist.org/packages/codeinc/redirect-middleware) and can be installed using [Composer](https://getcomposer.org/):

```
composer require codeinc/redirect-middleware
```

License
-------

[](#license)

The library is published under the MIT license (see [`LICENSE`](LICENSE) file).

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

2956d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce6d7fd91f537008e6af8eef5f5529e994cf74be8d78ee7b9d9ecac476ba1444?d=identicon)[joanfabregat](/maintainers/joanfabregat)

![](https://www.gravatar.com/avatar/8f72f949d7f70e400c02c225685f1934dec6219689f25edec38b4037df166d58?d=identicon)[codeinc](/maintainers/codeinc)

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.0k](/packages/typo3-cms-core)[cakephp/authentication

Authentication plugin for CakePHP

1214.1M100](/packages/cakephp-authentication)[typo3/cms-adminpanel

TYPO3 CMS Admin Panel - The Admin Panel displays information about your site in the frontend and contains a range of metrics including debug and caching information.

115.7M65](/packages/typo3-cms-adminpanel)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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