PHPackages                             m1guelpf/laravel-ssl - 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. [Security](/categories/security)
4. /
5. m1guelpf/laravel-ssl

ActiveLibrary[Security](/categories/security)

m1guelpf/laravel-ssl
====================

Enforce SSL in production

v2.1(8y ago)81.1k2[1 PRs](https://github.com/m1guelpf/laravel-ssl/pulls)MPL-2.0PHPPHP ^7.0

Since Feb 8Pushed 6y ago1 watchersCompare

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

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

Enforce SSL for Laravel
=======================

[](#enforce-ssl-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/957139b966347d926e986dc8b5238bc810bd1abb2f1c674772b86bc281695493/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d316775656c70662f6c61726176656c2d73736c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m1guelpf/laravel-ssl)[![Software License](https://camo.githubusercontent.com/bfb39ae4c43d779f60b380c2a7872c1dd714933fe2ef4c51e85e822b898dff5d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d316775656c70662f6c61726176656c2d73736c2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/9809e8ffb2c4f3fb69bdf348f175612770abb1519a4cc4191d38c0e33ad43178/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d316775656c70662f6c61726176656c2d73736c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m1guelpf/laravel-ssl)

Laravel SSL is a Laravel package that allows you to enforce HTTPS in certain parts of your site, or even the entire site!

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

[](#installation)

You can install the package via composer:

```
composer require m1guelpf/laravel-ssl
```

Next, you must install the service provider:

```
// config/app.php
'providers' => [
    ...
    M1guelpf\LaravelSSL\LaravelSSLServiceProvider::class,
];
```

Usage
-----

[](#usage)

Your app is now HTTPS-only!

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Miguel Piedrafita](https://github.com/m1guelpf)
- [All Contributors](../../contributors)

License
-------

[](#license)

This package is licensed under the Mozilla Public license. Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~182 days

Total

3

Last Release

3064d ago

Major Versions

v1.0 → v2.02017-05-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23558090?v=4)[Miguel Piedrafita](/maintainers/m1guelpf)[@m1guelpf](https://github.com/m1guelpf)

---

Top Contributors

[![m1guelpf](https://avatars.githubusercontent.com/u/23558090?v=4)](https://github.com/m1guelpf "m1guelpf (8 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (1 commits)")

---

Tags

enforcelaravelpackagesecuritysslm1guelpflaravel-ssl

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/m1guelpf-laravel-ssl/health.svg)

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

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M138](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24772.0k36](/packages/paragonie-ecc)

PHPackages © 2026

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