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.composer require toshy/bunnynet-php:^6.0
The documentation is available at https://toshy.github.io/BunnyNet-PHP.
Features and bugfixes should be based on the master
branch.
task composer:install
task git:hooks
Note: Checks for
phpcs
,phpstan
,phpmd
andphpunit
are executed when committing. You can also run these checks withtask contribute
.
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 3 tasks:
- Add/Update API models
- Add/Update API public methods for corresponding models
- Update documentation
The first task is already done by the generator, but if you want to fix the other two tasks, 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.
This repository comes with a MIT license.