PHPackages                             b13/azure-purge - 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. b13/azure-purge

ActiveTypo3-cms-extension[Caching](/categories/caching)

b13/azure-purge
===============

Azure CDN Adapter for purging TYPO3 caches

1.0.0(3y ago)0333GPL-2.0-or-laterPHP

Since Jul 4Pushed 3y ago7 watchersCompare

[ Source](https://github.com/b13/azure-purge)[ Packagist](https://packagist.org/packages/b13/azure-purge)[ RSS](/packages/b13-azure-purge/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Microsoft Azure CDN Adapter for TYPO3
=====================================

[](#microsoft-azure-cdn-adapter-for-typo3)

When TYPO3 is behind an Azure's CDN Profile, this extension is a perfect companion for you.

This extension hides the complexity of Azure's CDN API to purge caches.

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

[](#installation)

You can install this extension by using composer:

```
composer req b13/azure-purge

```

Usage
-----

[](#usage)

By default, EXT:azure-purge ships with a `azure:cdnpurge` CLI command to purge a full CDN profile or a specific URL within the CDN profile.

It is possible to purge a single or multiple URLs

```
./vendor/bin/typo3 azure:cdnpurge --url=/page1 --url=/page2

```

or purge a whole CDN Profile

```
./vendor/bin/typo3 azure:cdnpurge --profile=abcdef

```

Integration into TYPO3 Backend
------------------------------

[](#integration-into-typo3-backend)

EXT:azure-purge can be used in conjunction with TYPO3's Proxy Cache Manager Extension.

Using the Azure CDN Adapter for EXT:proxycachemanager flushes page caches directly when modifying a page. This is perfect if you're dealing with Azure CDN that not just caches your static assets but also your pages.

For this, ensure to set the class `\B13\AzurePurge\Provider\AzureProxyProvider` in the settings of EXT:proxycachemanager.

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

[](#configuration)

This extension purges CDN caches via cURL requests wrapped in the Guzzle API (bundled in TYPO3) instead of using the CLI binary `az` as requested by most examples.

For this reason, a OAuth Client with a `Client ID`, `Tenant ID` and a `Secret`must be created within Azure Portal first.

TYPO3 then creates an Access Token (oauth2/authorize), which is then used to purge content on the Azure CDN Profile.

Azure thus requires:

- Azure App ID / Client ID
- Azure Tenant ID
- Azure Client Secret

Then:

- Azure Subscription
- Azure Resource Group
- Azure CDN Profile
- Azure CDN Endpoint
- Optional: FrontDoor ID

All need to be provided via Environment variables:

- AZURE\_CLIENT\_ID
- AZURE\_TENANT\_ID
- AZURE\_CLIENT\_SECRET
- AZURE\_SUBSCRIPTION\_ID
- AZURE\_RESOURCE\_GROUP
- AZURE\_CDN\_PROFILE
- AZURE\_CDN\_ENDPOINT
- AZURE\_FRONTDOOR

Support for Azure FrontDoors
----------------------------

[](#support-for-azure-frontdoors)

See

Ensure to set the environment variable `AZURE_FRONTDOOR` to the Front Door Name.

### Using multiple sections / CDN endpoints in Site Configuration

[](#using-multiple-sections--cdn-endpoints-in-site-configuration)

This isn't implemented yet.

License
-------

[](#license)

The extension is licensed under GPL v2+, same as the TYPO3 Core. For details see the LICENSE file in this repository.

Icon courtesy of Microsoft Azure Icon Pack.

Open Issues
-----------

[](#open-issues)

If you find an issue, feel free to create an issue on GitHub or a pull request.

Credits
-------

[](#credits)

This extension was created by [Benni Mack](https://github.com/bmack) in 2022 for [b13 GmbH](https://b13.com).

[Find more TYPO3 extensions we have developed](https://b13.com/useful-typo3-extensions-from-b13-to-you) that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

1452d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/165630?v=4)[Benni Mack](/maintainers/bmack)[@bmack](https://github.com/bmack)

---

Top Contributors

[![bmack](https://avatars.githubusercontent.com/u/165630?v=4)](https://github.com/bmack "bmack (1 commits)")

---

Tags

cacheazurecdntypo3purge

### Embed Badge

![Health badge](/badges/b13-azure-purge/health.svg)

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

###  Alternatives

[b13/proxycachemanager

TYPO3 Extension that automatically flushes cached URLs within a proxy / CDN.

10106.4k](/packages/b13-proxycachemanager)[lochmueller/staticfilecache

Transparent static file cache solution using mod\_rewrite and mod\_expires. Increase performance for static pages by a factor of 230!!

1271.3M4](/packages/lochmueller-staticfilecache)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

41515.2k](/packages/wazum-sluggi)[nexxai/laravel-cfcache

A handful of Cloudflare cache helpers for Laravel

13011.9k](/packages/nexxai-laravel-cfcache)[bnf/nginx-cache

NGINX Cache Manager for TYPO3

244.1k](/packages/bnf-nginx-cache)

PHPackages © 2026

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