PHPackages                             bavix/laravel-middleware-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. [HTTP &amp; Networking](/categories/http)
4. /
5. bavix/laravel-middleware-https

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

bavix/laravel-middleware-https
==============================

Https Middleware for Laravel 5

1.1.0(5y ago)1161MITPHPPHP &gt;=7.0

Since Aug 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/bavix/laravel-middleware-https)[ Packagist](https://packagist.org/packages/bavix/laravel-middleware-https)[ RSS](/packages/bavix-laravel-middleware-https/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (1)Versions (12)Used By (0)

Automatic redirect to https
===========================

[](#automatic-redirect-to-https)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/75738671c461d251253b42cea783a4bd7529e016230c8e7217b2ce6714781c41/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c61726176656c2d6d6964646c65776172652d68747470732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/laravel-middleware-https/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/9d9ee881bb44244256332c15b6f3c4d2ca262ee4bcee7f151194d2f26a7970ea/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c61726176656c2d6d6964646c65776172652d68747470732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/laravel-middleware-https/?branch=master)[![Build Status](https://camo.githubusercontent.com/427676605975894be49cca040a89dfabf6d36e80be6a87f16700dbb0b43ea0a0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c61726176656c2d6d6964646c65776172652d68747470732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/laravel-middleware-https/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/4faa7f6c85988f6612eb5a6314a8ca288b2809bd18e5de699d33024d1189168d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c61726176656c2d6d6964646c65776172652d68747470732f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

[![Package Rank](https://camo.githubusercontent.com/ad6b66c19470d0fb75b641a6875deed077c36815fa2e8cb8e0c5c08c25e04391/68747470733a2f2f7068707061636b616765732e6f72672f702f62617669782f6c61726176656c2d6d6964646c65776172652d68747470732f62616467652f72616e6b2e737667)](https://packagist.org/packages/bavix/laravel-middleware-https)[![Latest Stable Version](https://camo.githubusercontent.com/ffd6936fb8def6eee318271193201273bfa6abec45b9ae2392981c7116305f01/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d6d6964646c65776172652d68747470732f762f737461626c65)](https://packagist.org/packages/bavix/laravel-middleware-https)[![Latest Unstable Version](https://camo.githubusercontent.com/b72f852da25c38e695fe6214ce95cd216eb0ee565d2cef4c8dd5bc07ce802c40/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d6d6964646c65776172652d68747470732f762f756e737461626c65)](https://packagist.org/packages/bavix/laravel-middleware-https)[![License](https://camo.githubusercontent.com/c4f001f4e16a240fa3a32b952eea9f2fc99752ffcda201f7af9f35dc7c9b5f7f/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d6d6964646c65776172652d68747470732f6c6963656e7365)](https://packagist.org/packages/bavix/laravel-middleware-https)[![composer.lock](https://camo.githubusercontent.com/c7c26228b1197a9f129f2a60384f1da402103d032a74eed3a2ff46b816358d7b/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d6d6964646c65776172652d68747470732f636f6d706f7365726c6f636b)](https://packagist.org/packages/bavix/laravel-middleware-https)

Https - Automatic protocol change from http to https.

- **Vendor**: bavix
- **Package**: Https Middleware
- **Version**: [![Latest Stable Version](https://camo.githubusercontent.com/ffd6936fb8def6eee318271193201273bfa6abec45b9ae2392981c7116305f01/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d6d6964646c65776172652d68747470732f762f737461626c65)](https://packagist.org/packages/bavix/laravel-middleware-https)
- **PHP Version**: 7.0+
- **Laravel Version**: 5.5+
- **[Composer](https://getcomposer.org/):** `composer require bavix/laravel-middleware-https`

---

Supported by

[![Supported by JetBrains](https://camo.githubusercontent.com/426b71c1485422e61c59d8b7fec03f4ba626dd77443847c0a14053491eb8fc4a/68747470733a2f2f63646e2e7261776769742e636f6d2f62617669782f646576656c6f706d656e742d7468726f7567682f34363437356234622f6a6574627261696e732e737667)](https://www.jetbrains.com/)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 94.1% 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 ~123 days

Recently: every ~160 days

Total

10

Last Release

2079d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/266f28651b740a279e636ef42fadcc7d72941c7a4bf9a29c4fd62c72476f0c0e?d=identicon)[REZ1DENT3](/maintainers/REZ1DENT3)

---

Top Contributors

[![rez1dent3](https://avatars.githubusercontent.com/u/5111255?v=4)](https://github.com/rez1dent3 "rez1dent3 (16 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

automatichttpslaravelmiddlewareprotocolredirecthttphttpsmiddlewarelaravelschemaprotocolschemeredirectautomatic

### Embed Badge

![Health badge](/badges/bavix-laravel-middleware-https/health.svg)

```
[![Health](https://phpackages.com/badges/bavix-laravel-middleware-https/health.svg)](https://phpackages.com/packages/bavix-laravel-middleware-https)
```

###  Alternatives

[matthewbdaly/laravel-etag-middleware

A Laravel middleware for adding ETags to HTTP requests to improve response times

64326.0k2](/packages/matthewbdaly-laravel-etag-middleware)[tomschlick/request-migrations

HTTP Request Migrations

1844.5k](/packages/tomschlick-request-migrations)[middlewares/https

Middleware to redirect to https and adds the Strict-Transport-Security header

1389.1k3](/packages/middlewares-https)[dragon-code/laravel-http-logger

Logging incoming HTTP requests

319.8k3](/packages/dragon-code-laravel-http-logger)[samsonasik/force-https-module

Force Https Module for Laminas Mvc and Mezzio application

188.9k](/packages/samsonasik-force-https-module)[akhan619/laravel-ses-tracking

A Laravel artisan based package to create the AWS (SES + SNS) infrastructure to receive email event notifications with Http/Https endpoint.

149.9k](/packages/akhan619-laravel-ses-tracking)

PHPackages © 2026

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