PHPackages                             nswdpc/silverstripe-oldmantium - 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. nswdpc/silverstripe-oldmantium

ActiveSilverstripe-vendormodule[Caching](/categories/caching)

nswdpc/silverstripe-oldmantium
==============================

Reinforced Cloudflare support for Silverstripe websites

v1.2.0(6mo ago)23.9k↓33.3%[1 PRs](https://github.com/nswdpc/silverstripe-oldmantium/pulls)1BSD-3-ClausePHP

Since Dec 21Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/nswdpc/silverstripe-oldmantium)[ Packagist](https://packagist.org/packages/nswdpc/silverstripe-oldmantium)[ RSS](/packages/nswdpc-silverstripe-oldmantium/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (20)Used By (1)

Cloudflare purge support for Silverstripe websites
==================================================

[](#cloudflare-purge-support-for-silverstripe-websites)

Purge cache handling

### Features

[](#features)

- Versioned DataObject purging, when that DataObject can be represented by one or more URLs
- Purge hosts, tags, prefixes (for Enterprise Cloudflare accounts)
- Permissions for administration access to purging
- Purge all in zone via a queued job

Requirements
------------

[](#requirements)

See [composer.json](./composer.json) for specifics.

Installation
------------

[](#installation)

```
composer require nswdpc/silverstripe-oldmantium
```

License
-------

[](#license)

BSD-3-Clause

See [License](./LICENSE.md)

Documentation
-------------

[](#documentation)

- [Documentation](./docs/en/001_index.md)

Configuration
-------------

[](#configuration)

### Authentication Token

[](#authentication-token)

Documentation:

1. Create Custom Token, give it a name
2. Zone / Cache Purge / Purge
3. Include Zone / Specific Zone / &lt; zone &gt;
4. Client IP Address filtering: restrict access to token
5. TTL, if required

```
NSWDPC\Utilities\Cloudflare\CloudflarePurgeService:
  enabled: true
  auth_token: ''
  zone_id: ''
  # Optional, specify a URL to use instead of Director::baseURL()
  base_url: 'https://www.example.com/'
```

### Versioned DataObject

[](#versioned-dataobject)

Give a Versioned `DataObject` the ability to purge from Cloudflare cache

```
My\Namespaced\Record:
  extensions:
    - 'NSWDPC\Utilities\Cloudflare\DataObjectPurgeable'
```

When `My\Namespaced\Record` is published or unpublished, the corresponding URLCachePurgeJob will be created as a queued job.

Maintainers
-----------

[](#maintainers)

> Add maintainers here or include [authors in composer](https://getcomposer.org/doc/04-schema.md#authors)

Bugtracker
----------

[](#bugtracker)

> Link to the the issue/bug tracker URL

Development and contribution
----------------------------

[](#development-and-contribution)

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance66

Regular maintenance activity

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 96.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 ~135 days

Total

14

Last Release

203d ago

Major Versions

v0.2.0 → v1.0.02024-05-13

v1.2.0 → v2.0.0-rc12025-10-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/1caefd99092b4a43254e48c40347224f671032ec1ffc3a457e06a7e9ab6e7c02?d=identicon)[nswdpc](/maintainers/nswdpc)

---

Top Contributors

[![JamesDPC](https://avatars.githubusercontent.com/u/69664712?v=4)](https://github.com/JamesDPC "JamesDPC (95 commits)")[![tardinha](https://avatars.githubusercontent.com/u/457209?v=4)](https://github.com/tardinha "tardinha (3 commits)")

---

Tags

silverstripecachecloudflarepurgettlpurging

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nswdpc-silverstripe-oldmantium/health.svg)

```
[![Health](https://phpackages.com/badges/nswdpc-silverstripe-oldmantium/health.svg)](https://phpackages.com/packages/nswdpc-silverstripe-oldmantium)
```

###  Alternatives

[silverstripe/staticpublishqueue

Static publishing queue to create static versions of pages for enhanced performance and security

45135.4k4](/packages/silverstripe-staticpublishqueue)[yediyuz/laravel-cloudflare-cache

laravel-cloudflare-cache

28239.2k](/packages/yediyuz-laravel-cloudflare-cache)[steadlane/silverstripe-cloudflare

This module aims to relieve the stress of using Cloudflare caching with any SilverStripe project. Adds extension hooks that clears Cloudflare's cache for a specific page when that page is published or unpublished.

243.7k](/packages/steadlane-silverstripe-cloudflare)[pstaender/silverstripe-redis-cache

Enables Redis cache for SilverStripe

1199.1k](/packages/pstaender-silverstripe-redis-cache)[silverstripe-terraformers/keys-for-cache

Silverstripe cache key management

1726.6k](/packages/silverstripe-terraformers-keys-for-cache)

PHPackages © 2026

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