PHPackages                             thomasvantuycom/craft-bunny - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. thomasvantuycom/craft-bunny

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

thomasvantuycom/craft-bunny
===========================

Bunny.net integration for Craft CMS.

1.1.0(6mo ago)2921MITPHPPHP ^8.2CI passing

Since Jul 17Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/thomasvantuycom/craft-bunny)[ Packagist](https://packagist.org/packages/thomasvantuycom/craft-bunny)[ GitHub Sponsors](https://github.com/thomasvantuycom)[ RSS](/packages/thomasvantuycom-craft-bunny/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Bunny.net for Craft CMS
=======================

[](#bunnynet-for-craft-cms)

This [Craft CMS](https://craftcms.com/) plugin seamlessly integrates with [Bunny.net](https://bunny.net/), providing three powerful filesystem drivers:

- Bunny Storage Filesystem – Upload assets directly from Craft’s control panel to your Bunny Storage Zone.
- Bunny CDN Filesystem – Offload image transformations to Bunny's Dynamic Image API, reducing load on your Craft CMS server.
- Bunny Stream Filesystem – Upload videos directly from Craft’s control panel to Bunny Stream.

Ideal for boosting performance and streamlining media delivery, this plugin makes it easy to manage and optimize your assets using Bunny.net’s infrastructure.

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

[](#requirements)

This plugin requires Craft CMS 5.8.0 or later, and PHP 8.2 or later.

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

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project’s Control Panel and search for “Bunny.net”. Then press “Install”.

### With Composer

[](#with-composer)

Open your terminal and run the following commands:

```
# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require thomasvantuycom/craft-bunny

# tell Craft to install the plugin
./craft plugin/install bunny
```

Setup
-----

[](#setup)

### Bunny Storage Filesystem

[](#bunny-storage-filesystem)

To configure the Bunny Storage filesystem, you’ll need the following:

- Zone Name – The name of your Bunny.net storage zone.
- Primary Region – The main region where your storage zone is hosted.
- Access Key – This is not your general Bunny.net API key. Instead, it’s the password found under the "FTP &amp; API Access" tab in your storage zone’s settings.

If you want assets in this filesystem to have publicly accessible URLs, you’ll also need to:

1. Create a Pull Zone in your Bunny.net dashboard and link it to your Storage Zone.
2. Provide the Pull Zone URL in the filesystem’s configuration under the appropriate setting.

### Bunny CDN Filesystem

[](#bunny-cdn-filesystem)

The Bunny CDN filesystem is intended only for use as the Transform Filesystem of a volume. Its sole purpose is to offload image transformations to Bunny.net using their Dynamic Image API.

To use this filesystem:

1. Create a Bunny Pull Zone and link it to either:
    - A Bunny Storage Zone (as described above), or
    - Any other Craft CMS filesystem that provides publicly accessible asset URLs.
2. In your Pull Zone settings on Bunny.net:
    - Enable the Optimizer feature.
    - Specifically enable the Dynamic Image API.

This setup allows Craft to generate transformed images via Bunny’s edge network, significantly improving performance and reducing processing load on your server.

### Image Transformations

[](#image-transformations)

You can use Craft's standard image transformation syntax—no changes to your templates are needed. This plugin automatically maps Craft’s transformation parameters to Bunny.net’s Dynamic Image API behind the scenes.

Bunny currently supports the following Craft transformation modes:

- crop
- fit

Other modes are not supported and will be ignored.

### Bunny Stream Filesystem

[](#bunny-stream-filesystem)

The Bunny Stream filesystem is intended specifically for managing streaming videos. To configure the filesystem, you'll need the following:

- Library ID – The ID of your Bunny.net stream library.
- CDN Hostname – The hostname found under the "API" tab in your stream settings.
- Access Key – This is not your general Bunny.net API key. It is also found in the "API" tab.

Because Bunny Stream does not store original file extensions, you'll need to add the following to your `general.php` Craft config file for the filesystem to work:

```
->extraAllowedFileExtensions([''])
```

Once configured, the Direct Play URL for a video will be available via the `getUrl()` method on your asset.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance67

Regular maintenance activity

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Every ~55 days

Total

3

Last Release

195d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/adb88658036208affd371b76b342a46d6f7e201fb8d97a6e817857d792bb27aa?d=identicon)[thomasvantuycom](/maintainers/thomasvantuycom)

---

Top Contributors

[![thomasvantuycom](https://avatars.githubusercontent.com/u/107400578?v=4)](https://github.com/thomasvantuycom "thomasvantuycom (6 commits)")

### Embed Badge

![Health badge](/badges/thomasvantuycom-craft-bunny/health.svg)

```
[![Health](https://phpackages.com/badges/thomasvantuycom-craft-bunny/health.svg)](https://phpackages.com/packages/thomasvantuycom-craft-bunny)
```

###  Alternatives

[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

395798.1k10](/packages/spicyweb-craft-neo)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[verbb/vizy

A flexible visual editor field for Craft.

4348.6k](/packages/verbb-vizy)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)

PHPackages © 2026

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