platformcommunity/flysystem-bunnycdn

Flysystem adapter for BunnyCDN

v0.3.2 2020-11-25 04:22 UTC

This package is auto-updated.

Last update: 2021-04-25 22:59:59 UTC


README

Bunny CDN Logo

Flysystem Adapter for BunnyCDN Storage

Build Status Codecov Packagist Version Packagist Packagist

Installation

composer require platformcommunity/flysystem-bunnycdn

Usage

use BunnyCDN\Storage\BunnyCDNStorage;
use League\Flysystem\Filesystem;
use PlatformCommunity\Flysystem\BunnyCDN\BunnyCDNAdapter;

$client = new BunnyCDNAdapter(new BunnyCDNStorage('storage-zone', 'api-key', 'de'));
$filesystem = new Filesystem($client);

Contributing

Pull requests welcome. Please feel free to lodge any issues as discussion points.

Licence

The Flysystem adapter for BunnyCDN is licensed under MIT.