Download the PHP package jorisnoo/craft-blitz-bunny-purge without Composer

On this page you can find all versions of the php package jorisnoo/craft-blitz-bunny-purge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package craft-blitz-bunny-purge

Blitz Bunny Purge

A Craft CMS plugin that provides a Bunny CDN reverse proxy purger for the Blitz caching plugin.

When Blitz invalidates cached content, this purger automatically sends purge requests to the Bunny CDN API to clear the corresponding URLs from the CDN cache.

Features

Requirements

Installation

Install via Composer:

Then go to Settings > Plugins in the Craft control panel and install the plugin.

Configuration

  1. Go to Settings > Blitz in the control panel
  2. Under Reverse Proxy Purger, select Bunny CDN Purger
  3. Configure the settings:
Setting Description Default
API URL The Bunny CDN purge API endpoint https://api.bunny.net/purge
API Key Your Bunny CDN API key
Authentication Type Access Key or Bearer Token Access Key

All settings support environment variables (e.g., $BUNNY_API_KEY).

Environment Variables

Add to your .env file:

Then reference it in the control panel as $BUNNY_API_KEY.

Config File

Alternatively, you can configure the purger via config/blitz.php instead of the control panel:

How It Works

Individual URL Purging

When Blitz invalidates specific URLs, the purger sends them to the Bunny CDN API in batches of up to 100 URLs per request:

Site Purging

When an entire site is purged, the purger sends a wildcard request instead of enumerating every URL:

Authentication

License

MIT


All versions of craft-blitz-bunny-purge with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
craftcms/cms Version ^5.0
putyourlightson/craft-blitz Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jorisnoo/craft-blitz-bunny-purge contains the following files

Loading the files please wait ...