The official PHP SDK provides an easy way to interact with Bunny Storage in your PHP applications.
Installation
Quickstart
Connect to your storage zone
Available regions:
List files
Returns an array of FileInfo objects.
FileInfo properties:
getGuid() - Unique identifier
getName() - File name
getPath() - Directory path
getSize() - File size in bytes
getChecksum() - File checksum
getDateCreated() - Creation date
getDateModified() - Last modification date
isDirectory() - Whether it’s a directory
Upload a file
Single file
Without checksum
Async
String content
Upload multiple files
Batch (sequential)
Async (concurrent)
Download a file
Get file info
Check if file exists
Delete a file
Delete multiple files
Examples
Explore complete working examples in the GitHub repository:
Resources
Last modified on July 10, 2026