PHPackages                             itsemon245/laravel-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. [File &amp; Storage](/categories/file-storage)
4. /
5. itsemon245/laravel-bunny

ActiveLibrary[File &amp; Storage](/categories/file-storage)

itsemon245/laravel-bunny
========================

A simple wrapper arround bunny cdn laravel filesystem adapter

1.1(1y ago)62.0k—8.1%MITPHP

Since Jan 4Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (3)Used By (0)

 [![Total Downloads](https://camo.githubusercontent.com/6dc83fc93261e91bb5de4c763a663d51cded9ba9f36b7980e42c6389120e6c1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f697473656d6f6e3234352f6c61726176656c2d62756e6e793f7374796c653d666f722d7468652d6261646765266c6162656c3d446f776e6c6f61647326636f6c6f723d363143394138)](https://packagist.org/packages/itsemon245/laravel-pausable-job) [![Latest Stable Version](https://camo.githubusercontent.com/a59cb6208d704c01e4e049cea1a8f409d95a787c71cdd0e6c840be421ee8ef5e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f697473656d6f6e3234352f6c61726176656c2d62756e6e793f7374796c653d666f722d7468652d6261646765266c6162656c3d56657273696f6e)](https://packagist.org/packages/itsemon245/laravel-pausable-job) [![License](https://camo.githubusercontent.com/309041cd0021ad2487c11604f39316478fbaac2332be4bbb3e0956ca5e22cd97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f697473656d6f6e3234352f6c61726176656c2d62756e6e793f7374796c653d666f722d7468652d6261646765266c6162656c3d4c6963656e7365)](https://packagist.org/packages/itsemon245/laravel-pausable-job)

Laravel Bunny
=============

[](#laravel-bunny)

A simple package that provides a new Storage Driver for bunny CDN using their [Filesystem Adapter](https://github.com/PlatformCommunity/flysystem-bunnycdn).

### Installation

[](#installation)

```
composer require itsemon245/laravel-bunny
```

### Configuration

[](#configuration)

Add a new entry for `disks` in `config/filesystems.php` using the following example.

```
  'bunny'=>[
      'driver' => 'bunny',
      'storage_zone' => env('BUNNYCDN_STORAGE_ZONE', 'my-storage-zone'),# Name of your storage zone
      'pull_zone' => env('BUNNYCDN_PULL_ZONE', 'https://random.b-cdn.net'),#Pull Zone URL
      'api_key' => env('BUNNYCDN_API_KEY'), # Use one of the password found in the storage zone.
      'region' => env('BUNNYCDN_REGION', \Itsemon245\LaravelBunny\Region::DEFAULT),
      'root'=> 'my-files',#Optional, all files will be stored under this directory if specified
  ]
```

Note

**Don't use the api key from your account settings, it does not work. Use one of the passwords found under Storage Zone &gt; FTP &amp; API Access section**

### Usage

[](#usage)

Usage is pretty simple.

```
//Storing file
Storage::disk('bunny')->put('new-file.txt', 'hello-world');

//Retrieving url
$url = Storage::disk('bunny')->url('new-file.txt');# https://random.b-cdn.net/my-files/new-file.txt
```

You can also skip calling the disk method everytime if you set `FILESYSTEM_DISK` to `bunny` in you `.env`. Then you can do something simple like.

```
//Storing file
Storage::put('new-file.txt', 'hello-world');

//Retrieving url
$url = Storage::url('new-file.txt');# https://random.b-cdn.net/my-files/new-file.txt
```

### List of regions

[](#list-of-regions)

**For a full region list, please visit the [BunnyCDN API documentation page](https://docs.bunny.net/reference/storage-api#storage-endpoints).**

The package also comes with a set of region constants to use

```
use Itsemon245\LaravelBunny\Region;

# Default
Region::DEFAULT = 'de';

# Europe
Region::FALKENSTEIN = 'de';
Region::STOCKHOLM = 'se';

# United Kingdom
Region::UNITED_KINGDOM = 'uk';

# USA
Region::NEW_YORK = 'ny';
Region::LOS_ANGELAS = 'la';

# SEA
Region::SINGAPORE = 'sg';

# Oceania
Region::SYDNEY = 'syd';

# Africa
Region::JOHANNESBURG = 'jh';

# South America
Region::BRAZIL = 'br';
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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 ~1 days

Total

2

Last Release

537d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/77df49af7a8f7ee50264b96f33af69a80ca6fe96826db69684fdbdd1dace6034?d=identicon)[itsemon245](/maintainers/itsemon245)

---

Top Contributors

[![itsemon245](https://avatars.githubusercontent.com/u/82655944?v=4)](https://github.com/itsemon245 "itsemon245 (9 commits)")

---

Tags

bunnycdnlaravellaravel-packagestorage

### Embed Badge

![Health badge](/badges/itsemon245-laravel-bunny/health.svg)

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

###  Alternatives

[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4644.1M3](/packages/stechstudio-laravel-zipstream)[yzh52521/think-filesystem

thinkphp6.1 for filesystem,include Aliyun and Qiniu COS OBS

113.8k](/packages/yzh52521-think-filesystem)

PHPackages © 2026

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