Constructive description here

This commit is contained in:
amazing-username
2017-05-24 18:35:30 -05:00
parent 9a289c54f5
commit 577b494ecc
5956 changed files with 659851 additions and 5 deletions
+24
View File
@@ -0,0 +1,24 @@
---
layout: default
permalink: /adapter/copy/
title: Copy.com Adapter
---
# Copy.com Adapter
## Installation
~~~ bash
composer require league/flysystem-copy
~~~
## Usage
~~~ php
use Barracuda\Copy\API;
use League\Flysystem\Filesystem;
use League\Flysystem\Copy\CopyAdapter;
$client = new API($consumerKey, $consumerSecret, $accessToken, $tokenSecret);
$filesystem = new Filesystem(new CopyAdapter($client, 'optional/path/prefix'));
~~~