PHPackages                             njxqlus/laravel-valid-proxies - 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. njxqlus/laravel-valid-proxies

ActiveLibrary

njxqlus/laravel-valid-proxies
=============================

Laravel valid proxies

0.0.3(8y ago)020MITPHPPHP &gt;=7.0

Since Sep 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/njxqlus/laravel-valid-proxies)[ Packagist](https://packagist.org/packages/njxqlus/laravel-valid-proxies)[ RSS](/packages/njxqlus-laravel-valid-proxies/feed)WikiDiscussions master Synced 2mo ago

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

Laravel Valid Proxies
=====================

[](#laravel-valid-proxies)

[![Packagist](https://camo.githubusercontent.com/6285b0272d3cd9d02b9bf4968d711eb9955b8092f320f0c0809e21b689a6ea29/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6a78716c75732f6c61726176656c2d76616c69642d70726f786965732e737667)](https://packagist.org/packages/njxqlus/laravel-valid-proxies)

Fix SSL in Laravel 5 when server is behind a load balancer or a reverse proxy

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

[](#installation)

Install via composer `composer require njxqlus/laravel-valid-proxies`

For Laravel 5.4 you need to add Service Provider in your config/app.php file:

`njxqlus\LaravelValidProxies\ServiceProvider::class`

Usage
-----

[](#usage)

ValidProxies Middleware already pushed to `web` middleware group.

If you want to use middleware global - add to to app\\Http\\Kernel in `$middleware` array:

`\njxqlus\LaravelValidProxies\Middleware\ValidProxies::class`

Credits
-------

[](#credits)

- [Carsten Jonstrup](https://gist.github.com/cjonstrup)
- [Mikael Agabalyants](https://github.com/njxqlus/laravel-valid-proxies)
- [All contributors](https://github.com/njxqlus/laravel-valid-proxies/graphs/contributors)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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

3171d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f120d68e714346845ffd1c7cdd4b4f06f70c065234bda4f15ce3d08b452919e8?d=identicon)[njxqlus](/maintainers/njxqlus)

---

Top Contributors

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

---

Tags

laravellaravel-5-packagelaravel55proxylaravelproxiesvalidlaravel55

### Embed Badge

![Health badge](/badges/njxqlus-laravel-valid-proxies/health.svg)

```
[![Health](https://phpackages.com/badges/njxqlus-laravel-valid-proxies/health.svg)](https://phpackages.com/packages/njxqlus-laravel-valid-proxies)
```

###  Alternatives

[monicahq/laravel-cloudflare

Add Cloudflare ip addresses to trusted proxies for Laravel.

3372.7M4](/packages/monicahq-laravel-cloudflare)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[glhd/linen

21135.6k](/packages/glhd-linen)

PHPackages © 2026

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