https://github.com/tinect/bunnycdn-s3-flysystem-adapter
BROKEN! SEE ISSUES! Supports Flysystem with version 1 for BunnyCDN.
https://github.com/tinect/bunnycdn-s3-flysystem-adapter
bunnycdn bunnycdn-storage flysystem flysystem-adapter s3-storage
Last synced: about 1 year ago
JSON representation
BROKEN! SEE ISSUES! Supports Flysystem with version 1 for BunnyCDN.
- Host: GitHub
- URL: https://github.com/tinect/bunnycdn-s3-flysystem-adapter
- Owner: tinect
- License: mit
- Created: 2022-01-08T21:44:55.000Z (over 4 years ago)
- Default Branch: v1
- Last Pushed: 2024-06-29T21:45:34.000Z (almost 2 years ago)
- Last Synced: 2025-03-29T04:51:19.984Z (about 1 year ago)
- Topics: bunnycdn, bunnycdn-storage, flysystem, flysystem-adapter, s3-storage
- Language: PHP
- Homepage:
- Size: 38.1 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flysystem Adapter for BunnyCDN Storage with S3
> **⚠ 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](https://github.com/PlatformCommunity/flysystem-bunnycdn) for the moment
[](https://github.com/tinect/bunnycdn-s3-flysystem-adapter/actions/workflows/test_v1.yml)
This adapter supports Flysystem with version 1 for BunnyCDN.
## Installation
```bash
composer require tinect/bunnycdn-s3-flysystem-adapter:^1.0
```
## Usage
```php
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);
```