Package Data | |
---|---|
Maintainer Username: | benjamincrozat |
Maintainer Contact: | hello@benjamincrozat.com (Benjamin Crozat) |
Package Create Date: | 2016-04-27 |
Package Last Update: | 2023-10-12 |
Home Page: | https://benjamincrozat.com/laravel-dropbox-driver |
Language: | PHP |
License: | WTFPL |
Last Refreshed: | 2024-12-19 03:20:38 |
Package Statistics | |
---|---|
Total Downloads: | 208,928 |
Monthly Downloads: | 4,123 |
Daily Downloads: | 160 |
Total Stars: | 53 |
Total Watchers: | 6 |
Total Forks: | 11 |
Total Open Issues: | 2 |
Dropbox driver for Laravel.
Adding a new disk in the storage is pretty easy. The only things I did were to copy and paste code from the documentation and made it a package: https://laravel.com/docs/filesystem#custom-filesystems
composer require benjamincrozat/laravel-dropbox-driver
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.