PHPackages                             fayland/slim-middleware-requirehttps - 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. fayland/slim-middleware-requirehttps

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

fayland/slim-middleware-requirehttps
====================================

Slim middleware: redirect http to https

0.0.2(12y ago)72071MITPHPPHP &gt;=5.3.0

Since Dec 5Pushed 12y ago1 watchersCompare

[ Source](https://github.com/fayland/Slim-Middleware-RequireHTTPS)[ Packagist](https://packagist.org/packages/fayland/slim-middleware-requirehttps)[ Docs](https://github.com/fayland/Slim-Middleware-RequireHTTPS)[ RSS](/packages/fayland-slim-middleware-requirehttps/feed)WikiDiscussions master Synced 1w ago

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

Slim-Middleware-RequireHTTPS
============================

[](#slim-middleware-requirehttps)

Slim middleware: redirect http to https

```
$app = new \Slim\Slim();
$app->add(new \Slim\Middleware\RequireHTTPS());

```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

4628d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97af1a8af1dd9d0c936317147c43ecbdb3774061570ccf8afa2792ef77cdbaae?d=identicon)[fayland](/maintainers/fayland)

---

Top Contributors

[![fayland](https://avatars.githubusercontent.com/u/22424?v=4)](https://github.com/fayland "fayland (5 commits)")

---

Tags

httpsmiddlewareslim

### Embed Badge

![Health badge](/badges/fayland-slim-middleware-requirehttps/health.svg)

```
[![Health](https://phpackages.com/badges/fayland-slim-middleware-requirehttps/health.svg)](https://phpackages.com/packages/fayland-slim-middleware-requirehttps)
```

###  Alternatives

[league/uri

URI manipulation library

1.1k252.7M423](/packages/league-uri)[chadicus/slim-oauth2

OAuth2 routes, middleware and utilities for use within a Slim Framework API

128377.0k4](/packages/chadicus-slim-oauth2)[maurobonfietti/rest-api-slim-php

Example of REST API with Slim PHP Framework.

3041.7k](/packages/maurobonfietti-rest-api-slim-php)[middlewares/https

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

1390.7k3](/packages/middlewares-https)[tkhamez/slim-role-auth

Role-based authorization for the Slim framework

1410.4k](/packages/tkhamez-slim-role-auth)[for/http-middleware-psr15-adapter

PSR15 adapter for react/http middleware

2519.3k3](/packages/for-http-middleware-psr15-adapter)

PHPackages © 2026

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