vaersaagod / bunny
Bunny CDN integration for Craft CMS.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 1
Open Issues: 0
Type:craft-plugin
Requires
- php: ^8.0
- craftcms/cms: ^4.0.0
This package is auto-updated.
Last update: 2024-04-06 18:27:27 UTC
README
Requirements
This plugin requires Craft CMS 4.0.0 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require vaersaagod/bunny
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Bunny.
Configuration
<?php
return [
'pullingEnabled' => true,
'pullZones' => [
'default' => [
'hostname' => 'https://snohetta.b-cdn.net',
'enabled' => true,
],
],
'defaultPullZone' => 'default',
];
Usage
{{ bunnyPullUrl('/lorem/ipsum') }}
{{ bunnyPullUrl('/lorem/ipsum', 'anotherZone') }}
Price, license and support
The plugin is released under the MIT license. It's made for Værsågod and friends, and no support is given. Submitted issues are resolved if it scratches an itch.
Changelog
See CHANGELOG.MD.
Brought to you by Værsågod