codeinc/redirect-middleware

This package is abandoned and no longer maintained. No replacement package was suggested.

A PSR-15 middleware to handle redirections

1.0.0 2018-05-28 12:49 UTC

This package is auto-updated.

Last update: 2020-01-24 20:33:00 UTC


README

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 library to encrypt the redirect URL in a JSON web token.

Installation

This library is available through Packagist and can be installed using Composer:

composer require codeinc/redirect-middleware

License

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