league/flysystem-dropbox

This package is abandoned and no longer maintained. The author suggests using the spatie/flysystem-dropbox package instead.

Flysystem adapter for Dropbox

Maintainers

👁 frankdejonge

Package info

github.com/thephpleague/flysystem-dropbox

pkg:composer/league/flysystem-dropbox

Statistics

Installs: 371 630

Dependents: 22

Suggesters: 11

Stars: 67

Open Issues: 6

1.0.4 2016-04-25 18:51 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 939f91ca00d0255d9b3aa313e191480d00f09382

  • Frank de Jonge <info.woop@frenky.net>

This package is auto-updated.

Last update: 2022-02-01 12:43:31 UTC


README

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

Installation

composer require league/flysystem-dropbox

Usage

Visit https://www.dropbox.com/developers/apps and get your "App secret".

You can also generate OAuth access token for testing using the Dropbox App Console without going through the authorization flow.

use League\Flysystem\Dropbox\DropboxAdapter;
use League\Flysystem\Filesystem;
use Dropbox\Client;

$client = new Client($accessToken, $appSecret);
$adapter = new DropboxAdapter($client, [$prefix]);

$filesystem = new Filesystem($adapter);