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.0.0(2mo ago)61172.1k—5.9%7[2 PRs](https://github.com/ToshY/BunnyNet-PHP/pulls)4MITPHPPHP ^8.2CI passing

Since Nov 6Pushed 1mo 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 1mo ago

READMEChangelog (10)Dependencies (18)Versions (65)Used By (4)

[ ![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)

[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

63

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity47

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 93.1% 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 ~27 days

Recently: every ~33 days

Total

60

Last Release

65d 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 (432 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (26 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

[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)[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.

26236.6k14](/packages/wordpress-php-ai-client)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[vin-sw/shopware-sdk

A PHP SDK for Shopware 6 Platform

122469.3k6](/packages/vin-sw-shopware-sdk)[kirschbaum-development/laravel-openapi-validator

Automatic OpenAPI validation for Laravel HTTP tests

581.1M5](/packages/kirschbaum-development-laravel-openapi-validator)

PHPackages © 2026

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