/laravel-force-https

Simple Middleware to force https

Primary LanguagePHPMIT LicenseMIT

mschlueter/laravel-force-https

Installation

Run in terminal: composer require mschlueter/laravel-force-https

Laravel 5.* Integration

Add the middleware to a controller, group, etc:

\Mschlueter\Routing\Middleware\ForceHttps,

Addtional information

If the environment is not in production, the middleware will be skipped.