PHPackages                             diepxuan/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. diepxuan/laravel-cloudflare

ActiveLibrary[API Development](/categories/api)

diepxuan/laravel-cloudflare
===========================

Laravel Integration With CloudFlare API

1.4.0(2y ago)02.8kMITPHP

Since Aug 29Pushed 2y agoCompare

[ Source](https://github.com/diepxuan/laravel-cloudflare)[ Packagist](https://packagist.org/packages/diepxuan/laravel-cloudflare)[ RSS](/packages/diepxuan-laravel-cloudflare/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (24)Used By (0)

CloudFlare Connection libraries for Laravel from 10.x
=====================================================

[](#cloudflare-connection-libraries-for-laravel-from-10x)

[![Total Downloads](https://camo.githubusercontent.com/03e7ccc329e07097ce5ba9dc14f8af989bd01f92aba9fbc1ac1e264d18dbc475/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646965707875616e2f6c61726176656c2d636c6f7564666c6172652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/diepxuan/laravel-cloudflare)[![Latest Stable Version](https://camo.githubusercontent.com/124228b02e38821fbed3d573372145782db9cfb2792e81bc3b5532cf529bbdd4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646965707875616e2f6c61726176656c2d636c6f7564666c6172652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/diepxuan/laravel-cloudflare)[![License](https://camo.githubusercontent.com/8b4e6fd95e54d27dbc8fc4306cef125e310a9f38d57455a2864b149869f34788/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f646965707875616e2f6c61726176656c2d636c6f7564666c6172652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/diepxuan/laravel-cloudflare)

Cloudflare API version 4
------------------------

[](#cloudflare-api-version-4)

Follow Cloudflare SDK (v4 API Binding for PHP 7) This repository is currently under development, additional classes and endpoints being actively added.

Getting Started
---------------

[](#getting-started)

```
$key     = new Cloudflare\API\Auth\APIKey('user@example.com', 'apiKey');
$adapter = new Cloudflare\API\Adapter\Guzzle($key);
$user    = new Cloudflare\API\Endpoints\User($adapter);

echo $user->getUserID();
```

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

[](#installation)

### Require using composer

[](#require-using-composer)

```
composer require diepxuan/laravel-cloudflare
```

### Base

[](#base)

The recommended way to install this package is via the Packagist Dependency Manager ([cloudflare/sdk](https://packagist.org/packages/cloudflare/sdk)). You can get specific usage examples on the Cloudflare Knowledge Base under: [Cloudflare PHP API Binding](https://support.cloudflare.com/hc/en-us/articles/115001661191)

In Laravel 5.5, and above, the package will auto-register the service provider. In Laravel 5.4 you must install this service provider.

About this package
------------------

[](#about-this-package)

[![Build Status](https://camo.githubusercontent.com/6e4d441035700a150eb6ae24f5d5c9bdda7b9264be331b10e322668ef2aec6bd/68747470733a2f2f7472617669732d63692e6f72672f636c6f7564666c6172652f636c6f7564666c6172652d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cloudflare/cloudflare-php)[Cloudflare SDK (v4 API Binding for PHP 7)](https://github.com/cloudflare/cloudflare-php)

Cloudflare API version 4
------------------------

[](#cloudflare-api-version-4-1)

The Cloudflare API can be found [here](https://api.cloudflare.com/). Each API call is provided via a similarly named function within various classes in the **Cloudflare\\API\\Endpoints** namespace:

- [DNS Records](https://www.cloudflare.com/dns/)
- [DNS Analytics](https://api.cloudflare.com/#dns-analytics-table)
- Zones
- User Administration (partial)
- [Cloudflare IPs](https://www.cloudflare.com/ips/)
- [Page Rules](https://support.cloudflare.com/hc/en-us/articles/200168306-Is-there-a-tutorial-for-Page-Rules-)
- [Web Application Firewall (WAF)](https://www.cloudflare.com/waf/)
- Virtual DNS Management
- Custom hostnames
- Manage TLS settings
- Zone Lockdown and User-Agent Block rules
- Organization Administration
- [Railgun](https://www.cloudflare.com/railgun/) administration
- [Keyless SSL](https://blog.cloudflare.com/keyless-ssl-the-nitty-gritty-technical-details/)
- [Origin CA](https://blog.cloudflare.com/universal-ssl-encryption-all-the-way-to-the-origin-for-free/)
- Crypto
- Load Balancers
- Firewall Settings

Licensing
---------

[](#licensing)

Licensed under the 3-clause BSD license. See the [LICENSE](LICENSE) file for details.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor4

4 contributors hold 50%+ of commits

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

Every ~99 days

Recently: every ~263 days

Total

22

Last Release

1090d ago

Major Versions

0.9.1 → 1.0.02017-09-20

PHP version history (2 changes)0.9.1PHP &gt;=7.0.0

1.1.7PHP &gt;=7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/90fcb59bfa8097c0e0dacd05f43901adb774dc4adb6172b2b743635f8f3d1d2e?d=identicon)[caothu159](/maintainers/caothu159)

---

Top Contributors

[![IcyApril](https://avatars.githubusercontent.com/u/2026099?v=4)](https://github.com/IcyApril "IcyApril (74 commits)")[![phily245](https://avatars.githubusercontent.com/u/645738?v=4)](https://github.com/phily245 "phily245 (35 commits)")[![exportsmedia](https://avatars.githubusercontent.com/u/5817656?v=4)](https://github.com/exportsmedia "exportsmedia (19 commits)")[![kleisauke](https://avatars.githubusercontent.com/u/12746591?v=4)](https://github.com/kleisauke "kleisauke (18 commits)")[![levidurfee](https://avatars.githubusercontent.com/u/10798199?v=4)](https://github.com/levidurfee "levidurfee (14 commits)")[![benedict-erwin](https://avatars.githubusercontent.com/u/3462264?v=4)](https://github.com/benedict-erwin "benedict-erwin (13 commits)")[![kanasite](https://avatars.githubusercontent.com/u/985129?v=4)](https://github.com/kanasite "kanasite (12 commits)")[![anthonysterling](https://avatars.githubusercontent.com/u/159960?v=4)](https://github.com/anthonysterling "anthonysterling (11 commits)")[![pauladams8](https://avatars.githubusercontent.com/u/37362614?v=4)](https://github.com/pauladams8 "pauladams8 (10 commits)")[![jacobbednarz](https://avatars.githubusercontent.com/u/283234?v=4)](https://github.com/jacobbednarz "jacobbednarz (8 commits)")[![legacybetadev](https://avatars.githubusercontent.com/u/52174826?v=4)](https://github.com/legacybetadev "legacybetadev (8 commits)")[![beltofte](https://avatars.githubusercontent.com/u/108249?v=4)](https://github.com/beltofte "beltofte (4 commits)")[![thellimist](https://avatars.githubusercontent.com/u/6690196?v=4)](https://github.com/thellimist "thellimist (3 commits)")[![caothu159](https://avatars.githubusercontent.com/u/4988663?v=4)](https://github.com/caothu159 "caothu159 (3 commits)")[![HemeraOne](https://avatars.githubusercontent.com/u/13874964?v=4)](https://github.com/HemeraOne "HemeraOne (3 commits)")[![darinrandal](https://avatars.githubusercontent.com/u/28626802?v=4)](https://github.com/darinrandal "darinrandal (3 commits)")[![zaherg](https://avatars.githubusercontent.com/u/27624?v=4)](https://github.com/zaherg "zaherg (2 commits)")[![axelabhay](https://avatars.githubusercontent.com/u/53849656?v=4)](https://github.com/axelabhay "axelabhay (2 commits)")[![czPechy](https://avatars.githubusercontent.com/u/8396185?v=4)](https://github.com/czPechy "czPechy (2 commits)")[![hans00](https://avatars.githubusercontent.com/u/1781902?v=4)](https://github.com/hans00 "hans00 (2 commits)")

### Embed Badge

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

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[echolabsdev/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

2.3k388.3k10](/packages/echolabsdev-prism)[sburina/laravel-whmcs-up

WHMCS API client and user provider for Laravel

271.3k](/packages/sburina-laravel-whmcs-up)

PHPackages © 2026

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