PHPackages                             enanobots/m2-cloudflare-cache-cleaner - 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. enanobots/m2-cloudflare-cache-cleaner

Abandoned → [qoliber/m2-cloudflare-cache-cleaner](/?search=qoliber%2Fm2-cloudflare-cache-cleaner)Library[Caching](/categories/caching)

enanobots/m2-cloudflare-cache-cleaner
=====================================

2.0.0(1y ago)201.1k↓100%4MITPHPPHP &gt;=8.1

Since Oct 31Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/qoliber/m2-cloudflare-cache-cleaner)[ Packagist](https://packagist.org/packages/enanobots/m2-cloudflare-cache-cleaner)[ RSS](/packages/enanobots-m2-cloudflare-cache-cleaner/feed)WikiDiscussions main Synced 1mo ago

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

[![Open Source Love](https://camo.githubusercontent.com/ddf91434d4485475c0dc245c39579e596aa5fa81ffafc81d0b2bdd54f073ef92/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f70656e2d736f757263652d6c69676874677265793f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)](https://camo.githubusercontent.com/ddf91434d4485475c0dc245c39579e596aa5fa81ffafc81d0b2bdd54f073ef92/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f70656e2d736f757263652d6c69676874677265793f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)[![](https://camo.githubusercontent.com/cf682d6e974eb5d2d308bc0f9066b509b639a0f1b32f8505e3756b58448b3062/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e342e782d6f72616e67653f7374796c653d666f722d7468652d6261646765266c6f676f3d6d6167656e746f)](https://camo.githubusercontent.com/cf682d6e974eb5d2d308bc0f9066b509b639a0f1b32f8505e3756b58448b3062/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e342e782d6f72616e67653f7374796c653d666f722d7468652d6261646765266c6f676f3d6d6167656e746f)[![](https://camo.githubusercontent.com/7800a561d31d48393bcb31f44b884e63affc8393fff9fd3c1820807eec29d5e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61696e7461696e65642d7965732d6772656e3f7374796c653d666f722d7468652d6261646765266c6f676f3d6d6167656e746f)](https://camo.githubusercontent.com/7800a561d31d48393bcb31f44b884e63affc8393fff9fd3c1820807eec29d5e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61696e7461696e65642d7965732d6772656e3f7374796c653d666f722d7468652d6261646765266c6f676f3d6d6167656e746f)

### Magento 2 CloudFlare Cache Cleaner

[](#magento-2-cloudflare-cache-cleaner)

Simple Magento 2 module that allows to clear CloudFlare cache from **CLI**

Installation (in your Magento 2 directory): **THIS PACKAGE REQUIRES COMPOSER 2.x**

```
composer require qoliber/m2-cloudflare-cache-cleaner
```

And run upgrade command:

```
php bin/magento setup:upgrade
```

Module should work out-of-the box

### Tested on

[](#tested-on)

- Magento 2.4.2 Open Source
- Magento 2.4.3 Open Source
- Magento 2.4.4 Open Source
- Magento 2.4.5 Open Source

### How to use this module

[](#how-to-use-this-module)

Simply run `CLI` command:

```
php bin/magento  qoliber:cloudflare:cache-clear [--request] [param list]

```

#### Examples

[](#examples)

```
php bin/magento  qoliber:cloudflare:cache-clear  --request=files https://www.store.com/ https://www.store.com/clear_this
php bin/magento  qoliber:cloudflare:cache-clear  --request=tags tag1 tag2 tag3
php bin/magento  qoliber:cloudflare:cache-clear  --request=hosts https://www.store.com/

```

##### Available requests

[](#available-requests)

- `files` - clear CF cache by URLs
- `tags` - clear CF cache by tags
- `hosts` - clears CF cache by hosts
- `prefixes` - clears CF cache by prefixes
- `purge_everything` - clear entire CF cache associated to the specified ZONE

### Next update (coming soon... )

[](#next-update-coming-soon-)

- adding logging and output regarding errors / issues
- adding ability to pass extra headers in the CLI
- adding admin UI to allow clearing CF from admin panel

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance63

Regular maintenance activity

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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 ~259 days

Total

4

Last Release

507d ago

Major Versions

1.0.2 → 2.0.02024-12-19

PHP version history (2 changes)1.0.1PHP &gt;=7.4

2.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/c327ce9b2190f4008945a74f0beb45871452f184a36c2020fb369f6dde615455?d=identicon)[enanobots](/maintainers/enanobots)

---

Top Contributors

[![jakwinkler](https://avatars.githubusercontent.com/u/4256191?v=4)](https://github.com/jakwinkler "jakwinkler (10 commits)")[![bartoszjuszczyk](https://avatars.githubusercontent.com/u/128232518?v=4)](https://github.com/bartoszjuszczyk "bartoszjuszczyk (1 commits)")

### Embed Badge

![Health badge](/badges/enanobots-m2-cloudflare-cache-cleaner/health.svg)

```
[![Health](https://phpackages.com/badges/enanobots-m2-cloudflare-cache-cleaner/health.svg)](https://phpackages.com/packages/enanobots-m2-cloudflare-cache-cleaner)
```

###  Alternatives

[svix/svix

Svix PHP Library

3.2k722.4k6](/packages/svix-svix)[eliashaeussler/cache-warmup

Composer package to warm up website caches, based on a given XML sitemap

73387.5k5](/packages/eliashaeussler-cache-warmup)[eliashaeussler/typo3-warming

Warming - Warms up Frontend caches based on an XML sitemap. Cache warmup can be triggered via TYPO3 backend or using a console command. Supports multiple languages and custom crawler implementations.

20229.9k](/packages/eliashaeussler-typo3-warming)[biigle/laravel-file-cache

Fetch and cache files from local filesystem, cloud storage or public webservers in Laravel

1130.9k1](/packages/biigle-laravel-file-cache)

PHPackages © 2026

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