bizhub / force-https
Laravel middleware for forcing https protocol
Installs: 586
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/bizhub/force-https
Requires
- php: >=5.6.4
- laravel/framework: >=6.20.12
README
Installation
1. Composer
Execute the following command to get the latest version of the package:
composer require bizhub/force-https
2. Laravel
Add Bizhub\ForceHttps\Middleware\ForceHttps::class
to app/Http/Kernel.php
protected $middlewareGroups = [ 'web' => [ // ... \Bizhub\ForceHttps\Middleware\ForceHttps::class ] ];