PHP code example of jeylabs / laravel-dropbox-storage-driver
1. Go to this page and download the library: Download jeylabs/laravel-dropbox-storage-driver library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jeylabs / laravel-dropbox-storage-driver example snippets
composer
'providers' => [
Jeylabs\Laravel\DropboxDriver\ServiceProvider::class,
],
'disks' => [
'dropbox' => [
'driver' => 'dropbox',
'secret' => env('DROPBOX_SECRET'),
'token' => env('DROPBOX_TOKEN'),
'prefix' => env('DROPBOX_PREFIX'),
'app_url' => env('DROPBOX_APP_URL'),
],
],
config/app.php
app/filesystems.php