lucasvscn / laravel-force-https
Patch to force every request to be made with https.
Installs: 91
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/lucasvscn/laravel-force-https
Requires
- php: >=5.6.4
- illuminate/support: ^5.3
This package is auto-updated.
Last update: 2020-10-06 22:29:28 UTC
README
Workaround to deal with a particular environment that kills redirections from port 80 (http) to 443 (https).
Once this package is enabled, the application should force all URLs to be https while in 'production' environment.
Install
Register the ServiceProvider in config/app.php
'providers' => [
// ...
LucasVscn\ForceHttps\ServiceProvider::class,
];