Infomaniak kDrive Storage driver for Laravel. Fork of infomaniak/laravel-kdrive, modernized for Flysystem v3 and Laravel 11/12/13.
edrisaturay/laravel-kdrive is a Laravel package for infomaniak kdrive storage driver for laravel. fork of infomaniak/laravel-kdrive, modernized for flysystem v3 and laravel 11/12/13..
It currently has 0 GitHub stars and 0 downloads on Packagist.
Install it with composer require edrisaturay/laravel-kdrive.
Discover more Laravel packages by edrisaturay
or browse all Laravel packages to compare alternatives.
Last updated
This package contains an Infomaniak kDrive storage driver for Laravel.
Via Composer
composer require infomaniak/laravel-kdrive
Starting with laravel 5.5, the Service Provider is automatically registered so may skip this instruction.
Add the Service provider to your config/app.php file:
'providers' => [
\Infomaniak\KDrive\KDriveServiceProvider::class,
],
Add a new disk to your config/filesystems.php file:
'disks' => [
'kdrive' => [
'driver' => 'kdrive',
'id' => env('KDRIVE_ID'),
'username' => env('KDRIVE_USERNAME'),
'password' => env('KDRIVE_PASSWORD'),
'prefix' => env('KDRIVE_PREFIX', ''),
]
],
Add your credentials to your .env file. See Credentials for more information on obtaining them.
KDRIVE_ID=123456
KDRIVE_USERNAME=john.doe@example.tld
KDRIVE_PASSWORD=********************
KDRIVE_PREFIX=
The KDRIVE_PREFIX is optional an you may remove it from you .env file is you do not use it. This settings allows you to define another folder as your root.
To be able to connect to your kDrive, you'll need the following information.
https://drive.infomaniak.com/app/drive/[ID]/filesThe MIT License (MIT). Please see the LICENSE for more information.