Dropbox driver for Laravel.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.editorconfig
.gitignore
.travis.yml
README.md
composer.json
phpunit.xml

README.md

Build Status Latest Stable Version License Total Downloads

Laravel Dropbox Driver

Dropbox driver for Laravel.

Requirements

  • PHP 7.1+

Installation

composer require benjamincrozat/laravel-dropbox-driver

Usage

If you're on Laravel 5.4 or older, add the service provider in your config/app.php file:

'providers' => [

    BC\Laravel\DropboxDriver\ServiceProvider::class,

],

Next, add the following in app/filesystems.php:

'disks' => [

    'dropbox' => [
        'driver' => 'dropbox',
        'token'  => env('DROPBOX_TOKEN'),
    ],

],

Then, in your .env file:

DROPBOX_TOKEN=your_access_token

Dealing with Dropbox for the first time? Here's the link to create your first application and generate your access token.

License

WTFPL