bizhub / force-https
Laravel middleware for forcing https protocol
1.0.2
2022-12-04 03:19 UTC
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 ] ];