PHPackages                             cloudflare/cloudflare-magento - 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. cloudflare/cloudflare-magento

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

cloudflare/cloudflare-magento
=============================

Cloudflare Plugin for Magento2

1.1.8(7y ago)5371.9k13[13 issues](https://github.com/cloudflare/Cloudflare-Magento/issues)[2 PRs](https://github.com/cloudflare/Cloudflare-Magento/pulls)BSD-3PHPPHP ~5.6.0|~7.0CI failing

Since Jun 10Pushed 2mo ago17 watchersCompare

[ Source](https://github.com/cloudflare/Cloudflare-Magento)[ Packagist](https://packagist.org/packages/cloudflare/cloudflare-magento)[ Docs](https://github.com/cloudflare/Cloudflare-Magento)[ RSS](/packages/cloudflare-cloudflare-magento/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (6)Versions (24)Used By (0)

Notice: This plugin has been deprecated and is no longer officially supported by Cloudflare.
============================================================================================

[](#notice-this-plugin-has-been-deprecated-and-is-no-longer-officially-supported-by-cloudflare)

For information regarding using Magento &amp; Cloudflare, please see [this support article](https://support.cloudflare.com/hc/en-us/articles/360021023712-Best-Practices-Speed-up-your-Site-with-Custom-Caching-via-Cloudflare-Page-Rules).
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#for-information-regarding-using-magento--cloudflare-please-see-this-support-article)

[![Build Status](https://camo.githubusercontent.com/9b4a149fd693b829740adc1c86ad75078c27dd2aaf1df908e1b362b20c06522b/68747470733a2f2f7472617669732d63692e6f72672f636c6f7564666c6172652f436c6f7564666c6172652d4d6167656e746f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cloudflare/Cloudflare-Magento)

Installing the Cloudflare Magento2 extension
--------------------------------------------

[](#installing-the-cloudflare-magento2-extension)

From the magento2 root directory run the following commands:

1. `composer require cloudflare/cloudflare-magento`
2. `composer update`
3. `bin/magento setup:upgrade`
4. `bin/magento setup:di:compile`

Versions of Magento2 supported
------------------------------

[](#versions-of-magento2-supported)

- Up to Magento2 CE 2.2.0

Development
-----------

[](#development)

You'll need to get [authorization keys](http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html) from the Magento marketplace and make an `auth.json`:

```
{
    "http-basic": {
        "repo.magento.com": {
            "username": "[MAGENTO USERNAME]",
            "password": "[MAGENTO PASSWORD]"
        }
    }
}

```

This will allow `composer install` to authenticate against `repo.magento.com/`.

### Development Commands

[](#development-commands)

1. `composer test`
2. `composer lint`
3. `composer format`

Tests
-----

[](#tests)

`vendor/phpunit/phpunit/phpunit -c dev/tests/unit/phpunit.xml.dist vendor/cloudflare/cloudflare-magento/Test/Unit/`

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance52

Moderate activity, may be stable

Popularity40

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 70.1% 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 ~48 days

Recently: every ~118 days

Total

17

Last Release

2903d ago

PHP version history (3 changes)1.0.0PHP ~5.5.0|~5.6.0|~7.0.0

1.1.0PHP ~5.6.0|~7.0.0

1.1.7PHP ~5.6.0|~7.0

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/873dd23d6e74daeea30addd3381d0031af80f5545a4f7f99d1a0628ab475d090?d=identicon)[manatarms](/maintainers/manatarms)

![](https://www.gravatar.com/avatar/2926c91753a8f8899d56ac51aa0208446b8d15f33e3ca717dff853c3f909902f?d=identicon)[jacobbednarz](/maintainers/jacobbednarz)

![](https://www.gravatar.com/avatar/259666b32454ecdff28b3ebd432510348e6237041732cda1f26272c0e3c0e35a?d=identicon)[patryk](/maintainers/patryk)

---

Top Contributors

[![jwineman](https://avatars.githubusercontent.com/u/6947158?v=4)](https://github.com/jwineman "jwineman (47 commits)")[![thellimist](https://avatars.githubusercontent.com/u/6690196?v=4)](https://github.com/thellimist "thellimist (8 commits)")[![garrettgalow](https://avatars.githubusercontent.com/u/2433030?v=4)](https://github.com/garrettgalow "garrettgalow (6 commits)")[![manatarms](https://avatars.githubusercontent.com/u/4206893?v=4)](https://github.com/manatarms "manatarms (5 commits)")[![IcyApril](https://avatars.githubusercontent.com/u/2026099?v=4)](https://github.com/IcyApril "IcyApril (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/cloudflare-cloudflare-magento/health.svg)

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

###  Alternatives

[opensolutions/oss-snmp

A PHP SNMP library for people who hate SNMP, MIBs and OIDs!

10925.1k](/packages/opensolutions-oss-snmp)

PHPackages © 2026

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