PHPackages                             sterner-stuff/cloudflare-cli - 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. sterner-stuff/cloudflare-cli

ActiveWp-cli-package[CLI &amp; Console](/categories/cli)

sterner-stuff/cloudflare-cli
============================

Provides a command line interface to the WordPress Cloudflare plugin, for performing cache purge actions.

3.0.0(4y ago)2334GPLv2 or laterPHPPHP &gt;=7.2

Since Aug 20Pushed 4y agoCompare

[ Source](https://github.com/sterner-stuff/cloudflare-wp-cli)[ Packagist](https://packagist.org/packages/sterner-stuff/cloudflare-cli)[ RSS](/packages/sterner-stuff-cloudflare-cli/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

Cloudflare CLI Add-On
=====================

[](#cloudflare-cli-add-on)

Requires [Cloudflare](https://wordpress.org/plugins/cloudflare/) 3.4+.

Provides a command line interface to the [WordPress Cloudflare plugin](https://www.cloudflare.com/integrations/wordpress/), for performing cache purge actions.

Quick links: [Using](#using) | [Installing](#installing)

Using
-----

[](#using)

```
wp cloudflare cache_purge

```

Clears all cached files to force Cloudflare to fetch a fresh version of those files from your web server.

**EXAMPLES**

```
# Flush Cloudflare cache after new code deployment.
$ wp cloudflare cache_purge
Success: Entire site cache on Cloudflare purged.

```

Installing
----------

[](#installing)

This package depends on the `\CF\WordPress\Hooks` class from the [Cloudflare for WordPress](https://wordpress.org/plugins/cloudflare/) plugin. Make sure it is installed and active.

### Via WP-CLI

[](#via-wp-cli)

```
wp package install https://github.com/sterner-stuff/cloudflare-wp-cli
```

### Using Composer

[](#using-composer)

```
composer require sterner-stuff/cloudflare-wp-cli
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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 ~145 days

Total

2

Last Release

1622d ago

Major Versions

2.0.0 → 3.0.02022-01-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2623646?v=4)[Ethan Clevenger](/maintainers/ethanclevenger91)[@ethanclevenger91](https://github.com/ethanclevenger91)

---

Top Contributors

[![ethanclevenger91](https://avatars.githubusercontent.com/u/2623646?v=4)](https://github.com/ethanclevenger91 "ethanclevenger91 (14 commits)")[![elvismdev](https://avatars.githubusercontent.com/u/3847077?v=4)](https://github.com/elvismdev "elvismdev (4 commits)")

### Embed Badge

![Health badge](/badges/sterner-stuff-cloudflare-cli/health.svg)

```
[![Health](https://phpackages.com/badges/sterner-stuff-cloudflare-cli/health.svg)](https://phpackages.com/packages/sterner-stuff-cloudflare-cli)
```

###  Alternatives

[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24726.4M22](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

13045.3M6.2k](/packages/illuminate-console)[winbox/args

Windows command-line formatter

20718.9k21](/packages/winbox-args)

PHPackages © 2026

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