Dropbox Adapter Plugin
Dropbox filesystem adapter plugin for OctoberCMS.
Installation
There are couple ways to install this plugin.
- Use October Marketplace and Add to project button.
- Use October backend area Settings > System > Updates & Plugins > Install Plugins and type Renatio.DropboxAdapter.
- Use
php artisan plugin:install Renatio.DropboxAdapter
command. - Use
composer require renatio/dropboxadapter-plugin
in project root.
Configuration
Add new filesystem disk in disks
array in config/filesystems.php
:
'dropbox' => [
'driver' => 'dropbox',
'app' => '',
'authorizationToken' => '',
],
Create new app and generate authorization token on the App Console at Dropbox.
In this configuration file you can also set default filesystem and cloud disk.
To use Dropbox as default uploads/media storage for October installation update config/cms.php
:
'storage' => [
'uploads' => [
'disk' => 'dropbox',
'folder' => 'uploads',
'path' => '/storage/app/uploads',
],
'media' => [
'disk' => 'dropbox',
'folder' => 'media',
'path' => '/storage/app/media',
],
],
Support
Please use GitHub Issues Page to report any issues with plugin.
Reviews should not be used for getting support or reporting bugs, if you need support please use the Plugin support link.
Like this plugin?
If you like this plugin, give this plugin a Like or Make donation with PayPal.