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
Requires
- php: >=7.1
- codeinc/middleware-test-kit: ^1.0
- codeinc/psr7-responses: ^1
- firebase/php-jwt: ^5.0
- psr/http-message: ^1.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
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).