Flysystem Adapter for Infomaniak kDrive
composer require infomaniak/flysystem-kdrive
To be able to connect to your kDrive, you'll need the following information.
- Your kDrive ID (Find your kDrive ID)
- Your login email address (the one you'd use on https://manager.infomaniak.com)
- A unique application password (Generate an application password)
- Connect to your kDrive directly on Infomaniak
- Find your drive's ID in the URL :
use Infomaniak\KDrive\KDriveAdapter; use League\Flysystem\Filesystem; $kDrive = new KDriveAdapter( '123456', // Your kDrive's ID 'firstname.lastname@example.org', // 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.