bizhub/force-https

Laravel middleware for forcing https protocol

Maintainers

Package info

github.com/bizhub/force-https

Homepage

pkg:composer/bizhub/force-https

Statistics

Installs: 649

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.2 2022-12-04 03:19 UTC

This package is auto-updated.

Last update: 2026-03-04 10:20:29 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
    ]
];