toshy / bunnynet-php
BunnyNet API client for PHP
Installs: 112 497
Dependents: 4
Suggesters: 0
Security: 0
Stars: 54
Watchers: 3
Forks: 7
Open Issues: 0
Requires
- php: ^8.1
- ext-json: *
- nyholm/psr7: ^1.6.1
- psr/http-client: ^1.0
Requires (Dev)
- cebe/php-openapi: ^1.8
- friendsofphp/php-cs-fixer: ^3.75
- nette/php-generator: ^4.1
- phpmd/phpmd: ^2.15
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.0
- rector/rector: ^2.0
- dev-master
- 7.1.0
- 7.0.2
- 7.0.1
- 7.0.0
- 6.x-dev
- 6.1.0
- 6.0.0
- 5.x-dev
- 5.2.0
- 5.1.0
- 5.0.1
- 5.0.0
- 4.x-dev
- 4.5.0
- 4.4.1
- 4.4.0
- 4.3.0
- 4.2.1
- 4.2.0
- 4.1.0
- 4.0.1
- 4.0.0
- 3.x-dev
- 3.4.1
- 3.4.0
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.0
- 3.0.1
- 3.0.0
- 2.x-dev
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.1
- 1.0.0
- dev-feature/remove-deprecated-endpoints
- dev-docs/167
This package is auto-updated.
Last update: 2025-07-24 21:18:50 UTC
README
BunnyNet API client for PHP
Bunny.net is content delivery platform that truly hops: providing CDN, edge storage, video streaming, image optimizers and much more!
Note: This is a non-official library for the bunny.net API.🧰 Install
composer require toshy/bunnynet-php:^7.0
📜 Documentation
The documentation is available at https://toshy.github.io/BunnyNet-PHP.
🛠️ Contribute
Features and bugfixes should be based on the master
branch.
Prerequisites
Install dependencies
task composer:install
Enable pre-commit hook
task git:hooks
Note: Checks for
phpcs
,phpstan
,phpmd
andphpunit
are executed when committing. You can also run these checks withtask contribute
.
🤖 Automated PRs
This repository has a workflow run (see generator) that creates or updates existing models 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.
- Fork the repository and make sure to copy all branches (not just
master
). - Create a branch based on the automated PR branch.
- The automated branches will be prefixed with
patch/automated-models
followed by a commit hash, e.g.patch/automated-models-12efdf9
.
- The automated branches will be prefixed with
- Make the desired changes in your own branch.
- Create a PR with your branch, denote your changes and reference the existing automated (draft) PR.
❕ Licence
This repository comes with a MIT license.