PHPackages                             happyr/cloud-flare-bundle - 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. [API Development](/categories/api)
4. /
5. happyr/cloud-flare-bundle

ActiveSymfony-bundle[API Development](/categories/api)

happyr/cloud-flare-bundle
=========================

This Symfony2 bundle lets you talk to the CloudFlare client API

0.2.1(10y ago)518.6k3[1 PRs](https://github.com/Happyr/CloudFlareBundle/pulls)MITPHPPHP &gt;=5.3.2

Since Jun 25Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Happyr/CloudFlareBundle)[ Packagist](https://packagist.org/packages/happyr/cloud-flare-bundle)[ Docs](http://developer.happyr.com/symfony2-bundles/cloud-flare-bundle)[ RSS](/packages/happyr-cloud-flare-bundle/feed)WikiDiscussions master Synced today

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

Happyr CloudFlare bundle
========================

[](#happyr-cloudflare-bundle)

This Symfony2 bundle lets you talk to the CloudFlare client API. For API reference please visit the [CloudFlare website](https://www.cloudflare.com/docs/client-api.html).

Installation and Configuration
==============================

[](#installation-and-configuration)

Install it like any other bundle with composer:

```
composer require happyr/cloud-flare-bundle

```

Once install and activated in the AppKernel.php you have to add your CloudFlare email and token in the configuration.

```
# app/config/config.yml

happyr_cloud_flare:
  email: tobias@happyr.com
  token: abcdefghijklmnop
```

Usage example
=============

[](#usage-example)

Here below is an example how you clear the cache for the `http://my-domain.com/static/style.css` url.

```
$cloudFlare=$this->container->get('happyr.cloudflare.service.cloudflare');
$cloudFlare->api('zone_file_purge', array('z'=>'my-domain.com', 'url'=>'http://my-domain.com/static/style.css'));
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~173 days

Total

4

Last Release

3871d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (15 commits)")

---

Tags

cloudflareCloud Flare

### Embed Badge

![Health badge](/badges/happyr-cloud-flare-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/happyr-cloud-flare-bundle/health.svg)](https://phpackages.com/packages/happyr-cloud-flare-bundle)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k37.6M134](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k14.2M62](/packages/knuckleswtf-scribe)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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