creocoder/yii2-flysystem

how to upload file directly in dropbox

Opened this issue · 1 comments

in composer
"creocoder/yii2-flysystem": "0.8.*",
"league/flysystem-dropbox": "~1.0"

in config:
'fs' => [
'class' => 'creocoder\flysystem\LocalFilesystem',
'path' => '@webroot/files',
],
'dropboxFs' => [
'class' => 'creocoder\flysystem\DropboxFilesystem',
'token' => 'token',
'app' => 'apikey',
// 'prefix' => 'your-prefix',
],
i am getting below error
Class 'League\Flysystem\Dropbox\DropboxAdapter' not found
please provide proper guidance to use this extension

Looks like you forget run composer update after adding "league/flysystem-dropbox": "~1.0" to composer.json.