league / flysystem-copy
Flysystem adapter for Copy.com
Installs: 29 257
Dependents: 6
Suggesters: 6
Security: 0
Stars: 5
Watchers: 7
Forks: 5
Open Issues: 0
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
See the following issue: https://github.com/thephpleague/flysystem-copy/issues/16
Flysystem Adapter for Copy.com
Installation
composer require league/flysystem-copy
Usage
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'));