flysystem kdrive
v1.0.0
This package contains a Flysystem adapter for Infomaniak kDrive. It is built on top of the Flysystem WebDAV adapter.
Via Composer
composer require infomaniak/flysystem-kdrive
To be able to connect to your kDrive, you'll need the following information.
https://drive.infomaniak.com/app/drive/[ID]/files
use InfomaniakKDriveKDriveAdapter;
use LeagueFlysystemFilesystem;
$kDrive = new KDriveAdapter(
'123456', // Your kDrive's ID
'[email protected]', // Your Infomaniak login email address
'********************', // Your generated password
);
$filesystem = new Filesystem($kDrive);
Go to the examples directory to find a few examples to get you started.
The MIT License (MIT). Please see the LICENSE for more information.