PHPackages                             molayli/laravel-cloudflare-real-ip - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. molayli/laravel-cloudflare-real-ip

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

molayli/laravel-cloudflare-real-ip
==================================

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

0.1(8y ago)1221.0k—0%4[1 PRs](https://github.com/molayli/laravel-cloudflare-real-ip/pulls)MITPHPPHP &gt;=7.0

Since Jan 19Pushed 4y ago2 watchersCompare

[ Source](https://github.com/molayli/laravel-cloudflare-real-ip)[ Packagist](https://packagist.org/packages/molayli/laravel-cloudflare-real-ip)[ Docs](https://github.com/molayli/laravel-cloudflare-real-ip)[ RSS](/packages/molayli-laravel-cloudflare-real-ip/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

> \[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
-----

[](#usage)

Just install the package using composer, [Laravel auto package discovery](https://laravel.com/docs/5.5/packages#package-discovery) will take care of the rest .

```
composer require molayli/laravel-cloudflare-real-ip

```

Credits
-------

[](#credits)

This package is based on [sumanion/laravel-cloudflare](https://github.com/sumanion/laravel-cloudflare).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community10

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

3036d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/715bda2cda746e6c9ed568e0533c87d54040e0730775ed9cfdff302e244ec612?d=identicon)[molayli](/maintainers/molayli)

---

Top Contributors

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

---

Tags

laravelcloudflarereal ip address

### Embed Badge

![Health badge](/badges/molayli-laravel-cloudflare-real-ip/health.svg)

```
[![Health](https://phpackages.com/badges/molayli-laravel-cloudflare-real-ip/health.svg)](https://phpackages.com/packages/molayli-laravel-cloudflare-real-ip)
```

###  Alternatives

[monicahq/laravel-cloudflare

Add Cloudflare ip addresses to trusted proxies for Laravel.

3372.7M4](/packages/monicahq-laravel-cloudflare)[orrison/cumulus

Import DNS records from Laravel Vapor into Cloudflare

3817.1k](/packages/orrison-cumulus)[stephenjude/filament-blog

Filament Blog Builder

20317.8k](/packages/stephenjude-filament-blog)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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