Slim middleware: redirect http to https
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Slim/Middleware
LICENSE
README.md
composer.json

README.md

Slim-Middleware-RequireHTTPS

Slim middleware: redirect http to https

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