This repository has been archived on 2026-07-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
HomeIsWhereTheMoneyIs/vendor/league/flysystem/docs/adapter/copy.md
T
2017-05-24 18:35:30 -05:00

25 lines
442 B
Markdown
Executable File

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