PHPackages                             tebros/laravel-cloudflare - 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. [Framework](/categories/framework)
4. /
5. tebros/laravel-cloudflare

ActiveLibrary[Framework](/categories/framework)

tebros/laravel-cloudflare
=========================

Laravel framework Service Provider to automatic loading IP ranges of Cloudflare trust proxies.

1.0.0(7y ago)093MITPHPPHP ~7.1

Since Sep 25Pushed 7y agoCompare

[ Source](https://github.com/Tebros/laravel-cloudflare)[ Packagist](https://packagist.org/packages/tebros/laravel-cloudflare)[ RSS](/packages/tebros-laravel-cloudflare/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (4)Versions (2)Used By (0)

Cloudflare Trusted Proxy Service Provider for Laravel
=====================================================

[](#cloudflare-trusted-proxy-service-provider-for-laravel)

The package is developed to provide Cloudflare trust proxies support for Laravel Framework requests. List of IP ranges used by Cloudflare can be found here: ().

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

[](#installation)

I. Install composer package using command:

```
composer install tebros/laravel-cloudflare

```

II. Run artisan command to load fresh IPs from Cloudflare:

```
php artisan cloudflare:reload

```

Available commands
------------------

[](#available-commands)

This package will not load Cloudflare IPs automatically. To do this you can use two registered commands:

- `cloudflare:reload` - this command loads list of current Cloudflare Proxy IPs and store in application cache forever,
- `cloudflare:view` - this command show list of loaded IPs from Cloudflare.

Automatic reloading
-------------------

[](#automatic-reloading)

If you want automatic refreshing of Cloudflare IP ranges you can schedule `cloudflare:reload` command in your app. To do this open `app/Console/Kernel.php` and modify `schedule` function like this:

```
/**
 * Define the application's command schedule.
 *
 * @param \Illuminate\Console\Scheduling\Schedule $schedule
 * @return void
 */
protected function schedule(Schedule $schedule)
{
    $schedule->command('cloudflare:reload')
        ->daily();
}
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

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

2835d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25565890?v=4)[Tebros](/maintainers/Tebros)[@Tebros](https://github.com/Tebros)

---

Top Contributors

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

---

Tags

frameworklaravelproxycloudflareproxiestrust

### Embed Badge

![Health badge](/badges/tebros-laravel-cloudflare/health.svg)

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

###  Alternatives

[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77018.2M122](/packages/laravel-mcp)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.7k](/packages/larastan-larastan)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k89.4M575](/packages/laravel-passport)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k28.4M137](/packages/laravel-cashier)[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.7M64](/packages/spatie-laravel-responsecache)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k14.1M123](/packages/laravel-pulse)

PHPackages © 2026

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