PHPackages                             toshy/bunnynet-php - 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. [API Development](/categories/api)
4. /
5. toshy/bunnynet-php

ActiveLibrary[API Development](/categories/api)

toshy/bunnynet-php
==================

BunnyNet API client for PHP

9.4.0(4w ago)61220.4k↓23.7%75MITPHPPHP ^8.2CI passing

Since Nov 6Pushed 4w ago2 watchersCompare

[ Source](https://github.com/ToshY/BunnyNet-PHP)[ Packagist](https://packagist.org/packages/toshy/bunnynet-php)[ RSS](/packages/toshy-bunnynet-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (36)Versions (72)Used By (5)

[ ![Bunny CDN Logo](https://camo.githubusercontent.com/b00c16d70f343230457024a6c23ffad7094869b90c5cf531958a75b342514fdc/68747470733a2f2f62756e6e792e6e65742f76322f696d616765732f62756e6e796e65742d6c6f676f2d6461726b2e737667)](https://bunny.net?ref=pji59zr7a4)BunnyNet API client for PHP
===========================

[](#bunnynet-api-client-for-php)

 [![Current bundle version](https://camo.githubusercontent.com/4145ac005ca04be85970e507d12c28e307d41dbd2fb1bbe51e602be75d70d3f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f7368792f62756e6e796e65742d7068703f6c6162656c3d5061636b6167697374)](https://camo.githubusercontent.com/4145ac005ca04be85970e507d12c28e307d41dbd2fb1bbe51e602be75d70d3f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f7368792f62756e6e796e65742d7068703f6c6162656c3d5061636b6167697374) [![Packagist Total Downloads](https://camo.githubusercontent.com/c4b751abc6f87c57d2c1969ba4d1f58df9d12a8cbb41bfe52bf1359af98d46e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f7368792f62756e6e796e65742d7068703f6c6162656c3d446f776e6c6f616473)](https://camo.githubusercontent.com/c4b751abc6f87c57d2c1969ba4d1f58df9d12a8cbb41bfe52bf1359af98d46e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f7368792f62756e6e796e65742d7068703f6c6162656c3d446f776e6c6f616473) [![PHP version requirement](https://camo.githubusercontent.com/37163d8513e033a847e137933e1567875c2f4a70fb3b999bbb7a75696e2fb346/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f7368792f62756e6e796e65742d7068703f6c6162656c3d504850)](https://camo.githubusercontent.com/37163d8513e033a847e137933e1567875c2f4a70fb3b999bbb7a75696e2fb346/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f7368792f62756e6e796e65742d7068703f6c6162656c3d504850) [![PHP-FIG PSR-18](https://camo.githubusercontent.com/8947c0df9680e62b921a4f0ffd8a42d4ba0724e1b5908a6748cb2db1fac4276a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5053522d31382d627269676874677265656e)](https://camo.githubusercontent.com/8947c0df9680e62b921a4f0ffd8a42d4ba0724e1b5908a6748cb2db1fac4276a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5053522d31382d627269676874677265656e) [![Code style](https://camo.githubusercontent.com/8a0348f895aa987a19bb7de10566f7c82578eeed1f86a243b5776f6e196071b3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f70687063732e796d6c3f6272616e63683d6d6173746572266c6162656c3d5048504353)](https://camo.githubusercontent.com/8a0348f895aa987a19bb7de10566f7c82578eeed1f86a243b5776f6e196071b3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f70687063732e796d6c3f6272616e63683d6d6173746572266c6162656c3d5048504353) [![Mess detector](https://camo.githubusercontent.com/30cc6ee7614f5f267a4fe8f1a35b4151f59e62d6c701e914f1c64e39542bf9d2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f7068706d642e796d6c3f6272616e63683d6d6173746572266c6162656c3d5048504d44)](https://camo.githubusercontent.com/30cc6ee7614f5f267a4fe8f1a35b4151f59e62d6c701e914f1c64e39542bf9d2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f7068706d642e796d6c3f6272616e63683d6d6173746572266c6162656c3d5048504d44) [![Static analysis](https://camo.githubusercontent.com/73061796827a7bd5dd90dab2b6e15abe50febf1742095c7837edca1ef6a5cfc6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f7068707374616e2e796d6c3f6272616e63683d6d6173746572266c6162656c3d5048505374616e)](https://camo.githubusercontent.com/73061796827a7bd5dd90dab2b6e15abe50febf1742095c7837edca1ef6a5cfc6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f7068707374616e2e796d6c3f6272616e63683d6d6173746572266c6162656c3d5048505374616e) [![Unit tests](https://camo.githubusercontent.com/21d97bf12225b7dd6e99986a8ac79fbb0fe709cd9d2231e90dd0a37e6d463cde/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f706870756e69742e796d6c3f6272616e63683d6d6173746572266c6162656c3d504850556e6974)](https://camo.githubusercontent.com/21d97bf12225b7dd6e99986a8ac79fbb0fe709cd9d2231e90dd0a37e6d463cde/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f706870756e69742e796d6c3f6272616e63683d6d6173746572266c6162656c3d504850556e6974) [![Security](https://camo.githubusercontent.com/271ea604e924cd41edb87b465b88a89338cb29ad4c14be3ee61a891d14124152/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f73656375726974792e796d6c3f6272616e63683d6d6173746572266c6162656c3d5365637572697479)](https://camo.githubusercontent.com/271ea604e924cd41edb87b465b88a89338cb29ad4c14be3ee61a891d14124152/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f73656375726974792e796d6c3f6272616e63683d6d6173746572266c6162656c3d5365637572697479) [![Zizmor](https://camo.githubusercontent.com/d094740ecad58890ee061d29463bfde819a5246c822dfdd58976b48e07f63d53/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f7a697a6d6f722e796d6c3f6272616e63683d6d6173746572266c6162656c3d5a697a6d6f72)](https://camo.githubusercontent.com/d094740ecad58890ee061d29463bfde819a5246c822dfdd58976b48e07f63d53/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f7a697a6d6f722e796d6c3f6272616e63683d6d6173746572266c6162656c3d5a697a6d6f72) [![Actionlint](https://camo.githubusercontent.com/55c862e71c6929d583b89b082937fded733a64f6ef768fa258b0305f3b4a9b9a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f616374696f6e6c696e742e796d6c3f6272616e63683d6d6173746572266c6162656c3d416374696f6e6c696e74)](https://camo.githubusercontent.com/55c862e71c6929d583b89b082937fded733a64f6ef768fa258b0305f3b4a9b9a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f7368792f62756e6e796e65742d7068702f616374696f6e6c696e742e796d6c3f6272616e63683d6d6173746572266c6162656c3d416374696f6e6c696e74)

[Bunny.net](https://bunny.net?ref=pji59zr7a4) is content delivery platform that truly hops: providing CDN, edge storage, video streaming, image optimizers and much more!

Important

This is a non-official PHP library for the [Bunny.net API](https://docs.bunny.net/docs).

🧰 Install
---------

[](#-install)

```
composer require toshy/bunnynet-php:^9.0
```

📜 Documentation
---------------

[](#-documentation)

The documentation is available at .

🛠️ Contribute
-------------

[](#️-contribute)

Features and bugfixes should be based on the `master` branch.

### Prerequisites

[](#prerequisites)

- [Docker Compose](https://docs.docker.com/compose/install/)
- [Task (optional)](https://taskfile.dev/installation/)

### Install dependencies

[](#install-dependencies)

```
task composer:install
```

### Enable pre-commit hook

[](#enable-pre-commit-hook)

```
task git:hooks
```

Note

Checks for `phpcs`, `phpstan`, `phpmd` and `phpunit` are executed when committing. You can also run these checks with `task contribute`.

### 🤖 Automated PRs

[](#-automated-prs)

This repository has a workflow run (see [generator](.github/workflows/generator.yml)) that creates or updates existing [models](src/Model/API) based on the latest OpenAPI specifications and subsequently creates a (draft) PR for these changes. You can identify these automated PRs with the labels `OpenAPI` and `automated`.

The automated PRs contain two tasks:

- Add/Update API models
- Add/Update documentation examples (when needed)

The first task is already done by the generator, but if you want to fix the other task, please use the following way of working.

1. Fork the repository and make sure to copy all branches (not just `master`).
2. Create a branch based on the automated PR branch.
    - The automated branches will be named `generator/update-api-models`.
3. Make the desired changes in your own branch.
4. Create a PR with your branch, denote your changes and reference the existing automated (draft) PR.

❕ Licence
---------

[](#-licence)

This repository comes with a [MIT license](./LICENSE).

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance94

Actively maintained with recent releases

Popularity48

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 92.8% 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 ~26 days

Total

66

Last Release

29d ago

Major Versions

4.x-dev → 5.0.02024-11-19

5.x-dev → 6.0.02025-06-01

6.x-dev → 7.0.02025-07-20

7.x-dev → 8.0.02025-11-01

8.x-dev → 9.0.02026-03-14

PHP version history (3 changes)1.0.0PHP ^7.4|^8.0

3.0.0PHP ^8.1

9.0.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![ToshY](https://avatars.githubusercontent.com/u/31921460?v=4)](https://github.com/ToshY "ToshY (467 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (30 commits)")[![hcaz](https://avatars.githubusercontent.com/u/2422207?v=4)](https://github.com/hcaz "hcaz (1 commits)")[![acohin](https://avatars.githubusercontent.com/u/10961902?v=4)](https://github.com/acohin "acohin (1 commits)")[![Sopamo](https://avatars.githubusercontent.com/u/1202596?v=4)](https://github.com/Sopamo "Sopamo (1 commits)")[![thisispiers](https://avatars.githubusercontent.com/u/1831251?v=4)](https://github.com/thisispiers "thisispiers (1 commits)")[![jeffersongoncalves](https://avatars.githubusercontent.com/u/411493?v=4)](https://github.com/jeffersongoncalves "jeffersongoncalves (1 commits)")[![ASECU-Cloud](https://avatars.githubusercontent.com/u/67299641?v=4)](https://github.com/ASECU-Cloud "ASECU-Cloud (1 commits)")

---

Tags

bunnybunnycdnbunnycdn-phpbunnyhopbunnynetbunnynet-phpbunnyphpphpbunnyCDNBunny.netBunnyWayToshYBunnyNet-PHPBunnyWay-PHPBunny PHPBunny CDN PHPBunnyNet PHP client

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/toshy-bunnynet-php/health.svg)

```
[![Health](https://phpackages.com/badges/toshy-bunnynet-php/health.svg)](https://phpackages.com/packages/toshy-bunnynet-php)
```

###  Alternatives

[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

60316.6M98](/packages/mollie-mollie-api-php)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

36826.2k2](/packages/telnyx-telnyx-php)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[jane-php/open-api-runtime

Jane OpenAPI Runtime Library, dependencies and utility class for a library generated by jane/openapi

2111.9M136](/packages/jane-php-open-api-runtime)[wordpress/php-ai-client

A provider agnostic PHP AI client SDK to communicate with any generative AI models of various capabilities using a uniform API.

26554.3k27](/packages/wordpress-php-ai-client)[n1ebieski/ksef-php-client

PHP API client that allows you to interact with the API Krajowego Systemu e-Faktur

9082.3k](/packages/n1ebieski-ksef-php-client)

PHPackages © 2026

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