PHPackages                             qoliber/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. qoliber/m2-cloudflare-cache-cleaner

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

qoliber/m2-cloudflare-cache-cleaner
===================================

2.0.0(1y ago)21137—0%4MITPHPPHP &gt;=8.1

Since Oct 31Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/qoliber/m2-cloudflare-cache-cleaner)[ Packagist](https://packagist.org/packages/qoliber/m2-cloudflare-cache-cleaner)[ RSS](/packages/qoliber-m2-cloudflare-cache-cleaner/feed)WikiDiscussions main Synced 3w 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

41

—

FairBetter than 87% of packages

Maintenance58

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

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

553d 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/e1127b1eba3c8b9dce8b6f329f14afb6af88aafa8f1e08aac8f23f97ec8f68b5?d=identicon)[qoliber](/maintainers/qoliber)

---

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/qoliber-m2-cloudflare-cache-cleaner/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

749284.3k35](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1523.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

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