nao-pon/flysystem-copy

Flysystem adapter for Copy.com

1.0.1 2015-02-04 08:52 UTC

This package is auto-updated.

Last update: 2024-10-24 04:34:30 UTC


README

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads

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