PHPackages                             zoxta/nova-cloudflare-card - 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. [Caching](/categories/caching)
4. /
5. zoxta/nova-cloudflare-card

ActiveLibrary[Caching](/categories/caching)

zoxta/nova-cloudflare-card
==========================

Purge your CloudFlare's cache in two clicks from a Laravel Nova dashboard card.

v1.0.1(7y ago)105.7k6[2 issues](https://github.com/zOxta/nova-cloudflare-card/issues)MITVuePHP &gt;=7.1.0

Since Aug 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zOxta/nova-cloudflare-card)[ Packagist](https://packagist.org/packages/zoxta/nova-cloudflare-card)[ Docs](https://github.com/zOxta/nova-cloudflare-card)[ RSS](/packages/zoxta-nova-cloudflare-card/feed)WikiDiscussions master Synced yesterday

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

Laravel Nova Cloudflare Card
============================

[](#laravel-nova-cloudflare-card)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b1490890f5c232ed7fa02a80a80f96c09a2e661df4946f1d964b1f51c5843543/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a4f7874612f6e6f76612d636c6f7564666c6172652d636172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zoxta/nova-cloudflare-card)[![Total Downloads](https://camo.githubusercontent.com/c403960acf8c62636a7938e735efe481f8cc3c01303c045d4e676aa18609f344/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a4f7874612f6e6f76612d636c6f7564666c6172652d636172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zoxta/nova-cloudflare-card)

Purge your Cloudflare's cache in two clicks from a Laravel Nova dashboard card.

[![nova-cloudflare-card](https://user-images.githubusercontent.com/2760582/44584363-08938f80-a7a9-11e8-92a7-99497f5bcda5.png)](https://user-images.githubusercontent.com/2760582/44584363-08938f80-a7a9-11e8-92a7-99497f5bcda5.png)

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

[](#installation)

You can install the package in to a Laravel app that uses [Laravel Nova](https://nova.laravel.com) via composer:

```
composer require zoxta/nova-cloudflare-card
```

Once the package is installed, you need to add the card to your `NovaServiceProvider.php` file:

```
// in app/Providers/NovaServiceProvder.php

// ...

public function cards()
{
    return [
        // ...
        new \Zoxta\NovaCloudflareCard\NovaCloudflareCard(),
    ];
}
```

Config
------

[](#config)

You need to add your Cloudflare's credentials to `config/services.php` file as shown:

```
    'cloudflare' => [
        'email'   => env('CLOUDFLARE_EMAIL', ''), # your cloudflare email
        'key'     => env('CLOUDFLARE_KEY', ''), # your cloudflare api key, from https://dash.cloudflare.com/profile
        'zone_id' => env('CLOUDFLARE_ZONE_ID', ''), # your domain's zone id, from the domain overview page
        'bearer' => env('CLOUDFLARE_BEARER', false), # if present use Authorization Bearer token instead of X-Auth-Key Header, use X-Auth if acc token, and Bearer if scoped token
    ],
```

[![nova-cloudflare-card-config](https://user-images.githubusercontent.com/2760582/44584370-0c271680-a7a9-11e8-89ed-74ec4a0d233a.png)](https://user-images.githubusercontent.com/2760582/44584370-0c271680-a7a9-11e8-89ed-74ec4a0d233a.png)When creating an API key/token if you decide to use the account's Global API Key, you need to set the `CLOUDFLARE_KEY` env variable, but if you decide to use an API Token, which you can scope to specific zones, you need to set the `CLOUDFLARE_BEARER` env variable

Usage
-----

[](#usage)

A new card will appear on your dashboard giving you the option to purge your Cloudflare's cache in two clicks whenever you need.

Credits
-------

[](#credits)

- [zOxta](https://github.com/zOxta)

License
-------

[](#license)

This card is released under the MIT License (MIT). Please see the included [license file](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 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 ~38 days

Total

2

Last Release

2829d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/99aa4df2538693154e9a6681749ecfa80a2f15ad2181cdb2a4674cb62fa96855?d=identicon)[zOxta](/maintainers/zOxta)

---

Top Contributors

[![zOxta](https://avatars.githubusercontent.com/u/2760582?v=4)](https://github.com/zOxta "zOxta (6 commits)")[![marcorivm](https://avatars.githubusercontent.com/u/1222598?v=4)](https://github.com/marcorivm "marcorivm (4 commits)")[![d8vjork](https://avatars.githubusercontent.com/u/2331052?v=4)](https://github.com/d8vjork "d8vjork (2 commits)")[![chris-ware](https://avatars.githubusercontent.com/u/19684457?v=4)](https://github.com/chris-ware "chris-ware (1 commits)")

---

Tags

cloudflarelaravelnovalaravelcachenovacloudflate

### Embed Badge

![Health badge](/badges/zoxta-nova-cloudflare-card/health.svg)

```
[![Health](https://phpackages.com/badges/zoxta-nova-cloudflare-card/health.svg)](https://phpackages.com/packages/zoxta-nova-cloudflare-card)
```

###  Alternatives

[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

974169.8k2](/packages/awssat-laravel-visits)[vink/nova-cache-card

Manage your application's cache from a handy Laravel Nova dashboard card.

26320.0k1](/packages/vink-nova-cache-card)[swayok/alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea. Powered by cache pool implementations provided by http://www.php-cache.com/

202570.3k8](/packages/swayok-alternative-laravel-cache)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17818.7k](/packages/markwalet-nova-modal-response)[dragon-code/laravel-cache

An improved interface for working with cache

7045.6k10](/packages/dragon-code-laravel-cache)[nexxai/laravel-cfcache

A handful of Cloudflare cache helpers for Laravel

13111.9k](/packages/nexxai-laravel-cfcache)

PHPackages © 2026

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