maa-solutions/flysystem-kdrive 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

maa-solutions/flysystem-kdrive

最新稳定版本:v1.0.1

Composer 安装命令:

composer require maa-solutions/flysystem-kdrive

包简介

A Flysystem adapter for Infomaniak's kDrive

README 文档

README

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.

Installation

Via Composer

composer require maa-solutions/flysystem-kdrive

Credentials

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 https://manager.infomaniak.com)
  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 : https://drive.infomaniak.com/app/drive/[ID]/files

Usage

use MaaSolutions\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);

Examples

Go to the examples directory to find a few examples to get you started.

License

The MIT License (MIT). Please see the LICENSE for more information.

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-12