league / flysystem-copy
此包已被废弃且不再维护。未建议替代包。
Copy.com 的 Flysystem 适配器
1.0.3
2015-03-29 11:47 UTC
Requires
- php: >=5.4.0
- barracuda/copy: ~1.1
- league/flysystem: ~1.0
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2022-02-01 12:43:31 UTC
README
查看以下问题: https://github.com/thephpleague/flysystem-copy/issues/16
Copy.com 的 Flysystem 适配器
安装
composer require league/flysystem-copy
用法
use Barracuda\Copy\API; use League\Flysystem\Filesystem; use League\Flysystem\Copy\CopyAdapter as Adapter; $client = new API($consumerKey, $consumerSecret, $accessToken, $tokenSecret); $filesystem = new Filesystem(new Adapter($client, 'optional/path/prefix'));