⚠️ Check HTTP-flysystem for 10x better performance: https://github.com/tinect/flysystem-bunnycdn/tree/v1composer require tinect/flysystem-bunnycdn
⚠️
This adapter supports Flysystem with version 1 for BunnyCDN.
composer require tinect/bunnycdn-sftp-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);