Development

BunnyCDN PHP API Class

A very comprehensive, feature-packed and easy to use PHP class for the BunnyCDN pull and storage zones API.

This class whilst having a major focus on file storage zone interaction still includes pull zone features. Combining API with FTP, managing and using BunnyCDN file storage zones just got easier.

View class here on GitHub.

Features include:

  • List storage zones
  • Add storage zone
  • Delete storage zone
  • Create folder in storage zone
  • Delete folder in storage zone
  • Delete file in storage zone
  • Delete all files in a folder in storage zone
  • Download a file from storage zone
  • Download all files in a folder from storage zone
  • Upload file to storage zone
  • Upload all files in a folder to storage zone
  • Rename file or folder in storage zone
  • Move file in storage zone
  • Get directory size in storage zone
  • Navigate/List directories in storage zone
  • List all from storage zone directory
  • List all files formatted from storage zone directory
  • List all folders formatted from storage zone directory
  • List all formatted from storage zone directory
  • Get usage statistics
  • Get billing data
  • View balance
  • View monthly charge
  • View monthly charge breakdown
  • Apply coupon code
  • List pull zones
  • Add pull zone
  • Delete pull zone
  • Purge pull zone
  • Add hostname to pull zone
  • Remove hostname from pull zone
  • Set force SSL for pull zone
  • List pull zone HTTP access logs
Share

Recent Posts

Kennington reservoir drained drone images

A drained and empty Kennington reservoir images from a drone in early July 2024. The…

1 year ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

1 year ago

FTP getting array of file details such as size using PHP

Using FTP and PHP to get an array of file details such as size and…

2 years ago

Creating Laravel form requests

Creating and using Laravel form requests to create cleaner code, separation and reusability for your…

2 years ago

Improving the default Laravel login and register views

Improving the default Laravel login and register views in such a simple manner but making…

2 years ago

Laravel validation for checking if value exists in the database

Laravel validation for checking if a field value exists in the database. The validation rule…

2 years ago