Cloudburst is a Statamic addon that integrates with Cloudflare to let you easily purge cache directly from your control panel.
π Features
- One-click Cloudflare cache purge from Statamic CP
- Automatically detects and stores your Cloudflare Zone ID
- Dashboard widget for quick access
- Configurable via
.env
or config file - allows multi domain cache busting
π¦ Installation
Install via Composer:
composer require netnak/cloudburst
Then publish the config file (optional):
php artisan vendor:publish --tag=cloudburst-config --force
βοΈ Configuration
Cloudburst auto-registers itself as a widget
To manually turn it off you can use the setting in the config
'show_widget' => false
β Usage
This addon requires a CloudFlare API token. It will need read access to the cloudflare API zone resources and purge access to cache purge.
These env variables override defaults in config/cloudburst.php
:
CLOUDBURST_ACCESS_KEY=your_cloudflare_access_keyCLOUDBURST_OVERRIDE_DOMAIN=yourdomain.com # optional override or CSV yourdomain.com,yourotherdomain.com
Or edit config/cloudburst.php directly.
πͺͺ License
MIT β see the LICENSE file for details.