nao-pon / flysystem-copy
Flysystem adapter for Copy.com
1.0.1
2015-02-04 08:52 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: 2024-11-24 04:37:21 UTC
README
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'));