PHPackages                             spatie/flysystem-dropbox - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. spatie/flysystem-dropbox

ActiveLibrary[File &amp; Storage](/categories/file-storage)

spatie/flysystem-dropbox
========================

Flysystem Adapter for the Dropbox v2 API

3.1.0(3mo ago)3644.6M—1.3%5120MITPHPPHP ^8.2CI passing

Since Apr 18Pushed 3mo ago8 watchersCompare

[ Source](https://github.com/spatie/flysystem-dropbox)[ Packagist](https://packagist.org/packages/spatie/flysystem-dropbox)[ Docs](https://github.com/spatie/flysystem-dropbox)[ Fund](https://spatie.be/open-source/support-us)[ GitHub Sponsors](https://github.com/spatie)[ RSS](/packages/spatie-flysystem-dropbox/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (28)Used By (20)

Flysystem adapter for the Dropbox API
=====================================

[](#flysystem-adapter-for-the-dropbox-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cc637c86d1c033bf23028535c06f662aae9e4f093adf40517d1dd52cef8fd62f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f666c7973797374656d2d64726f70626f782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/flysystem-dropbox)[![Tests](https://github.com/spatie/flysystem-dropbox/actions/workflows/run-tests.yml/badge.svg)](https://github.com/spatie/flysystem-dropbox/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/993700acd1e7a1ab113943533f80ddc0d8f74805f51307695c8e9d5208955c87/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f666c7973797374656d2d64726f70626f782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/flysystem-dropbox)

This package contains a [Flysystem](https://flysystem.thephpleague.com/) adapter for Dropbox. Under the hood, the [Dropbox API v2](https://www.dropbox.com/developers/documentation/http/overview) is used.

Using Flystem v1
----------------

[](#using-flystem-v1)

If you're using Flysystem v1, then use [v1 of flysystem-dropbox](https://github.com/spatie/flysystem-dropbox/tree/v1).

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/8b406c51948549f3831d735c3fdfb388e85c9f0e812c3e598843de49ae95463a/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f666c7973797374656d2d64726f70626f782e6a70673f743d31)](https://spatie.be/github-ad-click/flysystem-dropbox)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require spatie/flysystem-dropbox
```

Usage
-----

[](#usage)

The first thing you need to do is to get an authorization token at Dropbox. A token can be generated in the [App Console](https://www.dropbox.com/developers/apps) for any Dropbox API app. You'll find more info at [the Dropbox Developer Blog](https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/).

```
use League\Flysystem\Filesystem;
use Spatie\Dropbox\Client;
use Spatie\FlysystemDropbox\DropboxAdapter;

$client = new Client($authorizationToken);

$adapter = new DropboxAdapter($client);

$filesystem = new Filesystem($adapter);
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you've found a bug regarding security please mail  instead of using the issue tracker.

Postcardware
------------

[](#postcardware)

You're free to use this package (it's [MIT-licensed](LICENSE.md)), but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.

We publish all received postcards [on our company website](https://spatie.be/en/opensource/postcards).

Credits
-------

[](#credits)

- [Alex Vanderbist](https://github.com/AlexVanderbist)
- [Freek Van der Herten](https://github.com/freekmurze)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

72

—

ExcellentBetter than 100% of packages

Maintenance81

Actively maintained with recent releases

Popularity64

Solid adoption and visibility

Community43

Growing community involvement

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 58.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~128 days

Recently: every ~365 days

Total

26

Last Release

98d ago

Major Versions

0.0.1 → 1.0.02017-04-19

v1.x-dev → v2.x-dev2021-03-28

2.0.6 → 3.0.02023-03-13

PHP version history (5 changes)0.0.1PHP ^7.0

1.2.3PHP ^7.0 || ^8.0

v2.x-devPHP &gt;7.2 || ^8.0

2.0.5PHP ^8.0

3.1.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7535935?v=4)[Spatie](/maintainers/spatie)[@spatie](https://github.com/spatie)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (110 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (20 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (10 commits)")[![BusterNeece](https://avatars.githubusercontent.com/u/6744885?v=4)](https://github.com/BusterNeece "BusterNeece (10 commits)")[![Gummibeer](https://avatars.githubusercontent.com/u/6187884?v=4)](https://github.com/Gummibeer "Gummibeer (7 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (6 commits)")[![jmsche](https://avatars.githubusercontent.com/u/3929498?v=4)](https://github.com/jmsche "jmsche (3 commits)")[![alexmanase](https://avatars.githubusercontent.com/u/10696975?v=4)](https://github.com/alexmanase "alexmanase (3 commits)")[![Alex-D](https://avatars.githubusercontent.com/u/426843?v=4)](https://github.com/Alex-D "Alex-D (2 commits)")[![joe-walker](https://avatars.githubusercontent.com/u/933773?v=4)](https://github.com/joe-walker "joe-walker (2 commits)")[![lianee](https://avatars.githubusercontent.com/u/15734521?v=4)](https://github.com/lianee "lianee (2 commits)")[![akoepcke](https://avatars.githubusercontent.com/u/5311185?v=4)](https://github.com/akoepcke "akoepcke (2 commits)")[![samuelhgf](https://avatars.githubusercontent.com/u/16768378?v=4)](https://github.com/samuelhgf "samuelhgf (1 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (1 commits)")[![srmklive](https://avatars.githubusercontent.com/u/839335?v=4)](https://github.com/srmklive "srmklive (1 commits)")[![TheNodi](https://avatars.githubusercontent.com/u/3989012?v=4)](https://github.com/TheNodi "TheNodi (1 commits)")[![alies-dev](https://avatars.githubusercontent.com/u/5278175?v=4)](https://github.com/alies-dev "alies-dev (1 commits)")[![zaclummys](https://avatars.githubusercontent.com/u/17896485?v=4)](https://github.com/zaclummys "zaclummys (1 commits)")[![bhulsman](https://avatars.githubusercontent.com/u/612651?v=4)](https://github.com/bhulsman "bhulsman (1 commits)")[![ClProsser](https://avatars.githubusercontent.com/u/47798395?v=4)](https://github.com/ClProsser "ClProsser (1 commits)")

---

Tags

apidropboxflysystemv2spatieapiFlysystemdropboxv2flysystem-dropbox

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/spatie-flysystem-dropbox/health.svg)

```
[![Health](https://phpackages.com/badges/spatie-flysystem-dropbox/health.svg)](https://phpackages.com/packages/spatie-flysystem-dropbox)
```

###  Alternatives

[spatie/laravel-tinker-tools

Use short class names in an Artisan tinker session

13850.2k](/packages/spatie-laravel-tinker-tools)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

62146.8k9](/packages/mhetreramesh-flysystem-backblaze)[justus/flysystem-onedrive

A flysystem driver for OneDrive that uses the Microsoft Graph API

48104.4k](/packages/justus-flysystem-onedrive)[jacekbarecki/flysystem-onedrive

OneDrive adapter for the flysystem filesystem abstraction library

2429.9k](/packages/jacekbarecki-flysystem-onedrive)[royvoetman/flysystem-gitlab-storage

Flysystem Adapter for the Gitlab Repository files API v4

1123.3k4](/packages/royvoetman-flysystem-gitlab-storage)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
