tinect/bunnycdn-sftp-flysystem-adapter

此包已被废弃,不再维护。没有建议的替代包。

BunnyCDN 的 Flysystem 适配器

1.0.2 2022-07-14 12:33 UTC

This package is auto-updated.

Last update: 2023-08-24 19:42:49 UTC


README

⚠️ 请检查 HTTP-flysystem 以获得 10 倍的性能提升: https://github.com/tinect/flysystem-bunnycdn/tree/v1

composer require tinect/flysystem-bunnycdn

⚠️

Test V1

此适配器支持 BunnyCDN 的 Flysystem 版本 1。

安装

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);