laugharn/dbfs

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
There is no license information available for the latest version (1.1) of this package.

Extends illuminate/filesystem to support Dropbox.

1.1 2016-06-07 23:37 UTC

This package is not auto-updated.

Last update: 2021-11-27 03:52:18 UTC


README

Extends illuminate/filesystem to support Dropbox. Dropbox was not built to be a CDN, the I/O is slow af, but whatever, go for it, why not?

Installation

Require it with Composer:

    composer require laugharn/dbfs

Add the Service Provider to the config/app.php providers array:

    Laugharn\DropboxFilesystem\DropboxFilesystemServiceProvider::class

Configuration

Before you do any configuration, you need to create an application at developers.dropbox.com. Here you can get your oAuth access token and app name.

After that, add Dropbox to the config/filesystems.php disks array:

    'dropbox' => [
        'driver' => 'dropbox',
        'access_token' => 'your-access-token',
        'app_name' => 'your-app-name'
    ],

Set dropbox as your filesystem driver and you should be good to go.