yii2-flysystem
yii2-flysystem copied to clipboard
how to upload file directly in dropbox
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
.