Flysystem Adapter for Infomaniak kDrive

v1.0.0 2020-02-05 10:25 UTC

This package is not auto-updated.

Last update: 2022-05-26 22:18:08 UTC


Latest Version on Packagist Software License Total Downloads

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.

  1. Your kDrive ID (Find your kDrive ID)
  2. Your login email address (the one you'd use on
  3. A unique application password (Generate an application password)

Find your kDrive ID

  1. Connect to your kDrive directly on Infomaniak
  2. Find your drive's ID in the URL :[ID]/files


use Infomaniak\KDrive\KDriveAdapter;
use League\Flysystem\Filesystem;

$kDrive = new KDriveAdapter(
    '123456',               // Your kDrive's ID    
    'john.doe@example.tld', // 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.