Package Data | |
---|---|
Maintainer Username: | jeylabs |
Maintainer Contact: | ratheep.ceymplon@jeylabs.com.au (jeylabs) |
Package Create Date: | 2017-04-06 |
Package Last Update: | 2017-04-06 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-14 15:04:13 |
Package Statistics | |
---|---|
Total Downloads: | 758 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 5 |
Total Forks: | 2 |
Total Open Issues: | 1 |
Dropbox storage driver for Laravel.
composer require jeylabs/laravel-dropbox-storage-driver
In your config/app.php
, add the service provider:
'providers' => [
Jeylabs\Laravel\DropboxDriver\ServiceProvider::class,
],
Next, add the following in app/filesystems.php
:
'disks' => [
'dropbox' => [
'driver' => 'dropbox',
'secret' => env('DROPBOX_SECRET'),
'token' => env('DROPBOX_TOKEN'),
'prefix' => env('DROPBOX_PREFIX'),
'app_url' => env('DROPBOX_APP_URL'),
],
],
Then, in your .env
file:
DROPBOX_SECRET=your_app_secret_key
DROPBOX_TOKEN=your_access_token
DROPBOX_PREFIX=your_prefix
DROPBOX_APP_URL=your_application_url
Dealing with Dropbox for the first time? Here's the link to create your first application and generate your app secret key and access token.