Execute the following command to get the latest version of the package:
composer require bizhub/force-https
Add Bizhub\ForceHttps\Middleware\ForceHttps::class
to app/Http/Kernel.php
protected $middlewareGroups = [
'web' => [
// ...
\Bizhub\ForceHttps\Middleware\ForceHttps::class
]
];