Skip to content

fayouz/flysystem-pcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

flysystem-pcloud

Latest Version on Packagist StyleCI Build Status Scrutinizer Code Quality Coverage Status SensioLabsInsight Build status

This package contains a Flysystem adapter for pCloud.

Credits

This package is direct port of Flysystem Dropbox by Freek Van der Herten with support for PHP 5.5 & 5.6.

Installation

You can install the package via composer:

composer require fayouz/flysystem-pcloud

Usage

The first thing you need to do is get an authorization token at Dropbox. A token can be generated in the App Console for any Dropbox API app. You'll find more info at the Dropbox Developer Blog.

use League\Flysystem\Filesystem;
use Srmklive\Dropbox\Client\DropboxClient;
use Srmklive\Dropbox\Adapter\DropboxAdapter;

$client = new DropboxClient($authorizationToken);

$adapter = new DropboxAdapter($client);

$filesystem = new Filesystem($adapter);

Testing

$ composer test

About

pCloud Adapter for FlySystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors