PHPackages                             lifechurch/purge-fastly - 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. lifechurch/purge-fastly

AbandonedArchivedCraft-plugin[Caching](/categories/caching)

lifechurch/purge-fastly
=======================

Plugin adds specific field for setting fastly surrogate keys. If content has that keys it will be purged by every content save/edit action for every fastly service id(you can add ids on settings page).

0101PHP

Since Dec 14Pushed 7y ago12 watchersCompare

[ Source](https://github.com/lifechurch/purge-fastly-plugin)[ Packagist](https://packagist.org/packages/lifechurch/purge-fastly)[ RSS](/packages/lifechurch-purge-fastly/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Purge fastly plugin for Craft CMS 3.x
=====================================

[](#purge-fastly-plugin-for-craft-cms-3x)

Plugin adds specific field for setting fastly surrogate keys. If content has that keys it will be purged by every content save/edit action for every fastly service id(you can add ids on settings page).

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

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

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

[](#installation)

```
composer require lifechurch/purge-fastly

```

Configuring Purge fastly
------------------------

[](#configuring-purge-fastly)

Configure [API token](https://docs.fastly.com/api/auth#tokens) and Fastly services ids on plugin's settings page

You need to add that line to your entry template at the top to create relationships between keys and objects [API doc](https://docs.fastly.com/guides/purging/getting-started-with-surrogate-keys#creating-relationships-between-keys-and-objects)

```
{% header "Surrogate-Key: " ~ entry.surrogateKeys %}

```

After entry save/edit it'll send purge request to fastly service (if surrogate keys configured for that entry)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6dfc40ef71dc967d03047a774143ef5793454c306289f1eb32a60ef1fc92e86b?d=identicon)[Belgiets](/maintainers/Belgiets)

---

Top Contributors

[![dima-pashchenko](https://avatars.githubusercontent.com/u/75133830?v=4)](https://github.com/dima-pashchenko "dima-pashchenko (10 commits)")[![CodyMcMichael](https://avatars.githubusercontent.com/u/22300402?v=4)](https://github.com/CodyMcMichael "CodyMcMichael (2 commits)")[![benhaan](https://avatars.githubusercontent.com/u/68386?v=4)](https://github.com/benhaan "benhaan (1 commits)")

### Embed Badge

![Health badge](/badges/lifechurch-purge-fastly/health.svg)

```
[![Health](https://phpackages.com/badges/lifechurch-purge-fastly/health.svg)](https://phpackages.com/packages/lifechurch-purge-fastly)
```

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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