osorcom/safe-url-middleware

A Slim 3 middleware to redirect an HTTP URL to an HTTPS URL.

1.0 2016-09-02 07:59 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:34:50 UTC


README

A Slim 3 middleware to redirect an HTTP URL to an HTTPS URL.

Install the Middleware

composer require osorcom/safe-url-middleware

Use the Middleware

$app->add(new \Slim\Middleware\SafeURLMiddleware());