Skip to content

bizhub/force-https

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Force https middleware for Laravel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages