PHPackages                             tnovalis/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. [API Development](/categories/api)
4. /
5. tnovalis/laravel-cloudflare

AbandonedLibrary[API Development](/categories/api)

tnovalis/laravel-cloudflare
===========================

Use the Cloudflare API right from Laravel.

1.0(8y ago)287.5k14[1 issues](https://github.com/TNovalis/laravel-cloudflare/issues)[1 PRs](https://github.com/TNovalis/laravel-cloudflare/pulls)MITPHPPHP ^7.0

Since Oct 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/TNovalis/laravel-cloudflare)[ Packagist](https://packagist.org/packages/tnovalis/laravel-cloudflare)[ Docs](https://github.com/tnovalis/laravel-cloudflare)[ RSS](/packages/tnovalis-laravel-cloudflare/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Laravel Cloudflare
==================

[](#laravel-cloudflare)

The Cloudflare API right from Laravel.

*Note: This will work for anything Laravel 5 and up but I made it for Laravel 5.5 so I won't add the service provider and facade instructions here.*

#### What do I need?

[](#what-do-i-need)

1. Your Cloudflare email, simple, the one you use to log in with.
2. Your Cloudflare API Key, found in your account settings.
3. The Zone ID for the domain you want to edit, this is on the main page for the domain.

##### What do I do with these?

[](#what-do-i-do-with-these)

Put them in your `.env` as the following, obviously and respectively.

1. `CLOUDFLARE_EMAIL`
2. `CLOUDFLARE_API_KEY`
3. `CLOUDFLARE_ZONE_ID`

#### What can I use this for?

[](#what-can-i-use-this-for)

Anything you feel you need to edit domains for. Personally I made it for a mutli-tenant app to automatically add a subdomain.

#### How do I use it?

[](#how-do-i-use-it)

First do `composer require tnovalis/laravel-cloudflare`

If you're in Laravel 5.5 you're done. If you aren't, figure it out.

##### No I mean like... in the code.

[](#no-i-mean-like-in-the-code)

There is a `Cloudflare` facade that you can call. For the methods and arguments see `src/Cloudflare.php`

#### Can I help add things or clean this code?

[](#can-i-help-add-things-or-clean-this-code)

Sure. Also if you want to contribute to the Wiki, go ahead.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

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

3117d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7321987b1cea9bd12eda684305b34f56de8e239851a360db6b608eb2f2421e4e?d=identicon)[tnovalis](/maintainers/tnovalis)

---

Top Contributors

[![TNovalis](https://avatars.githubusercontent.com/u/9816125?v=4)](https://github.com/TNovalis "TNovalis (8 commits)")

---

Tags

cloudflarecloudflare-apilaravellaravel-5-packagephpapilaravelcloudflare

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[sebdesign/artisan-cloudflare

Laravel artisan commands for Cloudflare

77273.8k](/packages/sebdesign-artisan-cloudflare)[dragon-code/laravel-json-response

Automatically always return a response in JSON format

1118.6k1](/packages/dragon-code-laravel-json-response)[joshuapack/laravel-cloudflare

Use the Cloudflare API for Laravel 10-12 using PHP &gt;= 8.1.

122.0k](/packages/joshuapack-laravel-cloudflare)

PHPackages © 2026

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