PHPackages                             bizhub/force-https - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bizhub/force-https

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bizhub/force-https
==================

Laravel middleware for forcing https protocol

1.0.2(3y ago)0751MITPHPPHP &gt;=5.6.4

Since May 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bizhub/force-https)[ Packagist](https://packagist.org/packages/bizhub/force-https)[ Docs](https://bizhub.co.nz)[ RSS](/packages/bizhub-force-https/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (7)Used By (0)

Force https middleware for Laravel
==================================

[](#force-https-middleware-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9c1e09f07c5429aa533aa6fef594d2bea217ef81bfd4cb736d8fc357f11143de/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62697a6875622f666f7263652d68747470732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bizhub/inertia-query-filter) [![Packagist Downloads](https://camo.githubusercontent.com/595c84dbab2cbfba2ec4b5be735e389b66f456695e9e6595df9119a22c92436b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62697a6875622f666f7263652d68747470733f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/595c84dbab2cbfba2ec4b5be735e389b66f456695e9e6595df9119a22c92436b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62697a6875622f666f7263652d68747470733f7374796c653d666c61742d737175617265)

Installation
------------

[](#installation)

### 1. Composer

[](#1-composer)

Execute the following command to get the latest version of the package:

```
composer require bizhub/force-https

```

### 2. Laravel

[](#2-laravel)

Add `Bizhub\ForceHttps\Middleware\ForceHttps::class` to `app/Http/Kernel.php`

```
protected $middlewareGroups = [
    'web' => [
        // ...

        \Bizhub\ForceHttps\Middleware\ForceHttps::class
    ]
];
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~257 days

Recently: every ~321 days

Total

6

Last Release

1307d ago

Major Versions

0.2 → 1.02019-05-30

0.3.1 → 1.0.12021-02-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/0472059fd00a788248c7f2fb2d209121e0f29d3b4086614685c70ed13558c038?d=identicon)[Bizhub](/maintainers/Bizhub)

---

Top Contributors

[![bizhub](https://avatars.githubusercontent.com/u/1683367?v=4)](https://github.com/bizhub "bizhub (6 commits)")

---

Tags

httpslaravel

### Embed Badge

![Health badge](/badges/bizhub-force-https/health.svg)

```
[![Health](https://phpackages.com/badges/bizhub-force-https/health.svg)](https://phpackages.com/packages/bizhub-force-https)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[firefly-iii/data-importer

Firefly III Data Import Tool.

8035.8k](/packages/firefly-iii-data-importer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k31](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
