PHPackages                             legacybeta/cloudflare-firewall - 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. [CLI &amp; Console](/categories/cli)
4. /
5. legacybeta/cloudflare-firewall

ActiveLibrary[CLI &amp; Console](/categories/cli)

legacybeta/cloudflare-firewall
==============================

A Laravel command to work with Cloudflare firewall rules.

1.0(5y ago)10251[1 issues](https://github.com/legacybeta/cloudflare-firewall/issues)MITPHP

Since Sep 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/legacybeta/cloudflare-firewall)[ Packagist](https://packagist.org/packages/legacybeta/cloudflare-firewall)[ RSS](/packages/legacybeta-cloudflare-firewall/feed)WikiDiscussions master Synced today

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

Laravel Cloudflare Firewall Rules
=================================

[](#laravel-cloudflare-firewall-rules)

Create and Update Cloudflare Firewall Rules Based on your Laravel Application's Routes

Adds a new Laravel artisan a new command `cloudflare:generate-firewall-rules` that creates or updates two rules in Cloudflare Firewall:

1. Allow specific POSTs
2. Block all incoming POSTs.

To install this package via composer:

1. Run the commend `composer require legacybeta/cloudflare-firewall`;
2. Then run `php artisan vendor:publish --provider="LegacyBeta\CloudflareFirewall\CloudflareFirewallServiceProvider"`;
3. Put the Cloudflare API email, API key and Zone Id in the .env for your project:

```
CF_EMAIL=
CF_API_KEY=
CF_ZONE_ID=

```

Blog post with a bit more details is [here](https://medium.com/legacybeta/laravel-cloudflare-firewall-rules-313dae4d0404).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

2055d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19964?v=4)[Logan Lindquist Land](/maintainers/llbbl)[@llbbl](https://github.com/llbbl)

---

Top Contributors

[![legacybetadev](https://avatars.githubusercontent.com/u/52174826?v=4)](https://github.com/legacybetadev "legacybetadev (3 commits)")[![llbbl](https://avatars.githubusercontent.com/u/19964?v=4)](https://github.com/llbbl "llbbl (3 commits)")

### Embed Badge

![Health badge](/badges/legacybeta-cloudflare-firewall/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[bestmomo/nice-artisan

Web interface for Laravel Artisan

215149.3k](/packages/bestmomo-nice-artisan)[statamic/cli

Statamic CLI Tool

7587.7k](/packages/statamic-cli)[mwguerra/web-terminal

A web-based terminal component for Filament/Laravel with command whitelisting and multiple connection types

251.1k](/packages/mwguerra-web-terminal)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

171.9k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

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