Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 699 Bytes

readme.md

File metadata and controls

27 lines (18 loc) · 699 Bytes

Force https middleware for Laravel

Latest Version on Packagist Packagist Downloads

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
    ]
];