tinect / bunnycdn-sftp-flysystem-adapter
Flysystem adapter for BunnyCDN
Installs: 2 109
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=7.4
- ext-json: *
- league/flysystem: ~1.0
- league/flysystem-sftp: ^1.0
Requires (Dev)
- phpunit/phpunit: ^8.0 | ^9.3
README
⚠️ Check HTTP-flysystem for 10x better performance: https://github.com/tinect/flysystem-bunnycdn/tree/v1
composer require tinect/flysystem-bunnycdn
⚠️
This adapter supports Flysystem with version 1 for BunnyCDN.
Installation
composer require tinect/bunnycdn-sftp-flysystem-adapter:^1.0
Usage
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);