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(8mo ago)24.1k↑164.7%[1 PRs](https://github.com/nswdpc/silverstripe-oldmantium/pulls)1BSD-3-ClausePHP

Since Dec 21Pushed 8mo 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 yesterday

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

42

—

FairBetter than 88% of packages

Maintenance59

Moderate activity, may be stable

Popularity24

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

257d 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/framework

The SilverStripe framework

7313.7M2.8k](/packages/silverstripe-framework)[silverstripe/cms

The SilverStripe Content Management System

5253.6M1.4k](/packages/silverstripe-cms)[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[dnadesign/silverstripe-elemental

Elemental pagetype and collection of Elements

1141.1M310](/packages/dnadesign-silverstripe-elemental)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/staticpublishqueue

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

44140.1k6](/packages/silverstripe-staticpublishqueue)

PHPackages © 2026

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