nginxsonarrradarrplexorganizrdashboardbookmarkapplication-dashboardmuximuxlandingpagestartpagelandinghtpcserverhomepagesabnzbdheimdallembycouchpotatonzbget
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
682 B
682 B
layout | permalink | title |
---|---|---|
default | /adapter/dropbox/ | Dropbox Adapter |
Dropbox Adapter
Installation
composer require spatie/flysystem-dropbox
Usage
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 Spatie\Dropbox\Client;
use Spatie\FlysystemDropbox\DropboxAdapter;
$client = new Client($authorizationToken);
$adapter = new DropboxAdapter($client);
$filesystem = new Filesystem($adapter);