The League of Extraordinary Packages

Our Packages:

Presented by The League of Extraordinary Packages

Getting Started


Dropbox Adapter


composer require league/flysystem-dropbox


Visit 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, 'optional/path/prefix');

$filesystem = new Filesystem($adapter);