โ ATTENTION BunnyCDN has no offical S3-Support for the moment. Their API is currently accessible, but it might be break again. To be save: please use PlatformCommunity/flysystem-bunnycdn for the moment
This adapter supports Flysystem with version 1 for BunnyCDN.
composer require tinect/bunnycdn-s3-flysystem-adapter:^1.0
use League\Flysystem\Filesystem;
use Tinect\Flysystem\BunnyCDN\BunnyCDNAdapter;
$client = new BunnyCDNAdapter('storageName', 'api-key-or-ftp-passwort', 'storage.bunnycdn.com', 'optionalSubfolder');
$filesystem = new Filesystem($client);