molayli/laravel-cloudflare-real-ip

Get the real ip for laravel applications behind cloudflare's reverse proxy

Installs: 20 661

Dependents: 0

Suggesters: 0

Security: 0

Stars: 12

Watchers: 2

Forks: 4

Open Issues: 1

pkg:composer/molayli/laravel-cloudflare-real-ip

0.1 2018-01-19 16:51 UTC

This package is auto-updated.

Last update: 2025-11-29 02:17:49 UTC


README

[Note] Tested on laravel 5.5.* only

A Laravel service provider to set the real IP address in Laravel Request for applications behind cloudflare's reverse proxy.

Usage

Just install the package using composer, Laravel auto package discovery will take care of the rest .

composer require molayli/laravel-cloudflare-real-ip

Credits

This package is based on sumanion/laravel-cloudflare.