bizhub/force-https

Laravel middleware for forcing https protocol

1.0.2 2022-12-04 03:19 UTC

This package is auto-updated.

Last update: 2024-05-04 06:21:10 UTC


README

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