Run in terminal:
composer require mschlueter/laravel-force-https
Add the middleware to a controller, group, etc:
\Mschlueter\Routing\Middleware\ForceHttps,
If the environment is not in production, the middleware will be skipped.
Run in terminal:
composer require mschlueter/laravel-force-https
Add the middleware to a controller, group, etc:
\Mschlueter\Routing\Middleware\ForceHttps,
If the environment is not in production, the middleware will be skipped.