PHPackages                             graham-campbell/cloudflare-api - 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. graham-campbell/cloudflare-api

AbandonedArchivedLibrary[Framework](/categories/framework)

graham-campbell/cloudflare-api
==============================

CloudFlare API Is A CloudFlare API Client For Laravel 5

v0.7.0-alpha(11y ago)153.2k2MITPHPPHP &gt;=5.4.7

Since Aug 25Pushed 11y agoCompare

[ Source](https://github.com/GrahamDeprecated/Laravel-CloudFlare-API)[ Packagist](https://packagist.org/packages/graham-campbell/cloudflare-api)[ RSS](/packages/graham-campbell-cloudflare-api/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (7)Versions (10)Used By (2)

Laravel CloudFlare API
======================

[](#laravel-cloudflare-api)

Laravel CloudFlare API was created by, and is maintained by [Graham Campbell](https://github.com/GrahamCampbell), and is a CloudFlare API client for [Laravel 5](http://laravel.com). It utilises [Guzzle 5](https://github.com/guzzle/guzzle), and my [Laravel Manager](https://github.com/GrahamCampbell/Laravel-Manager) package. Feel free to check out the [change log](CHANGELOG.md), [releases](https://github.com/GrahamCampbell/Laravel-CloudFlare-API/releases), [license](LICENSE), [api docs](http://docs.grahamjcampbell.co.uk), and [contribution guidelines](CONTRIBUTING.md).

WARNING
-------

[](#warning)

#### This package is no longer maintained.

[](#this-package-is-no-longer-maintained)

[![Laravel CloudFlare API](https://cloud.githubusercontent.com/assets/2829600/4432316/c173a328-468c-11e4-99c1-b49f78b738bb.PNG)](https://cloud.githubusercontent.com/assets/2829600/4432316/c173a328-468c-11e4-99c1-b49f78b738bb.PNG)

[![Build Status](https://camo.githubusercontent.com/6afa142fefc917342b9283a2ea65931b3da50fbc617c8740fe0721faae023875/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f47726168616d43616d7062656c6c2f4c61726176656c2d436c6f7564466c6172652d4150492f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/GrahamCampbell/Laravel-CloudFlare-API)[![Coverage Status](https://camo.githubusercontent.com/460350578564b09e6f72cecc84ef33e0e5922acc7b3795da87596dc67220e836/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f47726168616d43616d7062656c6c2f4c61726176656c2d436c6f7564466c6172652d4150492e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/GrahamCampbell/Laravel-CloudFlare-API/code-structure)[![Quality Score](https://camo.githubusercontent.com/e4048d2d7938371f72e20a54ca1266699538aaf69ca76edde186d55118d48de3/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f47726168616d43616d7062656c6c2f4c61726176656c2d436c6f7564466c6172652d4150492e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/GrahamCampbell/Laravel-CloudFlare-API)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Latest Version](https://camo.githubusercontent.com/a8d41a3e2ca718109ae10235af00af8143eaf7790cbb229eaa665fa5bdb6f0ca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f47726168616d43616d7062656c6c2f4c61726176656c2d436c6f7564466c6172652d4150492e7376673f7374796c653d666c61742d737175617265)](https://github.com/GrahamCampbell/Laravel-CloudFlare-API/releases)

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

[](#installation)

[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required.

To get the latest version of Laravel CloudFlare API, simply add the following line to the require block of your `composer.json` file:

```
"graham-campbell/cloudflare-api": "0.7.*"

```

You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

Once Laravel CloudFlare API is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.

- `'GrahamCampbell\CloudFlareAPI\CloudFlareAPIServiceProvider'`

You can register the CloudFlareAPI facade in the `aliases` key of your `config/app.php` file if you like.

- `'CloudFlareAPI' => 'GrahamCampbell\CloudFlareAPI\Facades\CloudFlareAPI'`

Configuration
-------------

[](#configuration)

Laravel CloudFlare API requires connection configuration.

To get started, you'll need to publish all vendor assets:

```
$ php artisan vendor:publish
```

This will create a `config/cloudflareapi.php` file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

There are two config options:

##### Default Connection Name

[](#default-connection-name)

This option (`'default'`) is where you may specify which of the connections below you wish to use as your default connection for all work. Of course, you may use many connections at once using the manager class. The default value for this setting is `'main'`.

##### CloudFlare Connections

[](#cloudflare-connections)

This option (`'connections'`) is where each of the connections are setup for your application. Example configuration has been included, but you may add as many connections as you would like.

Usage
-----

[](#usage)

There is currently no usage documentation besides the [API Documentation](http://docs.grahamjcampbell.co.uk) for Laravel CloudFlare API.

License
-------

[](#license)

Laravel CloudFlare API is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

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

Every ~66 days

Recently: every ~44 days

Total

9

Last Release

4162d ago

PHP version history (2 changes)v0.1.0-alphaPHP &gt;=5.3.3

v0.3.0-alphaPHP &gt;=5.4.7

### Community

Maintainers

![](https://www.gravatar.com/avatar/d95eb26cb8f3919bb5ca3b6d823daeabbf259663778a970349b245c580713c8e?d=identicon)[graham-campbell](/maintainers/graham-campbell)

---

Top Contributors

[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (241 commits)")

---

Tags

apiframeworklaravelGraham CampbellGrahamCampbellcloudflareCloudFlare APILaravel CloudFlare API

### Embed Badge

![Health badge](/badges/graham-campbell-cloudflare-api/health.svg)

```
[![Health](https://phpackages.com/badges/graham-campbell-cloudflare-api/health.svg)](https://phpackages.com/packages/graham-campbell-cloudflare-api)
```

###  Alternatives

[graham-campbell/github

GitHub Is A GitHub Bridge For Laravel

6451.8M21](/packages/graham-campbell-github)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M836](/packages/laravel-socialite)[graham-campbell/digitalocean

DigitalOcean Is A DigitalOcean Bridge For Laravel

503357.0k2](/packages/graham-campbell-digitalocean)[graham-campbell/gitlab

GitLab Is A GitLab Bridge For Laravel

142610.0k2](/packages/graham-campbell-gitlab)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k17.6M518](/packages/laravel-boost)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.4M65](/packages/graham-campbell-markdown)

PHPackages © 2026

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