njxqlus/laravel-valid-proxies

Laravel valid proxies
20
Install
composer require njxqlus/laravel-valid-proxies
Latest Version:0.0.3
PHP:>=7.0
License:MIT
Last Updated:Feb 14, 2018
Links: GitHub  ·  Packagist
Maintainer: njxqlus

Laravel Valid Proxies

Packagist

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

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

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

Related Packages

monicahq/laravel-cloudflare

Add Cloudflare ip addresses to trusted proxies for Laravel.

3,232,790 344
coding-all-night/laravel-trusted-proxies

A ServiceProvider for setting trusted proxies in Laravel applications

105
php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the...

53,312 161
kavenegar/laravel

laravel 4 and 5 kavenegar integration

361,233 86
laravel-ja/laravel

The Laravel Framework.

5,667 17