定制 maa-solutions/laravel-kdrive 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

maa-solutions/laravel-kdrive

最新稳定版本:v1.0.0

Composer 安装命令:

composer require maa-solutions/laravel-kdrive

包简介

Infomaniak kDrive Storage driver for Laravel

README 文档

README

Latest Version on Packagist Software License Total Downloads

This package contains an Infomaniak kDrive storage driver for Laravel.

Installation

Via Composer

composer require maa-solutions/laravel-kdrive

Configure a new disk

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', ''),
    ]
],

Setup your .env file

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.

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

License

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

统计信息

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

GitHub 信息

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

其他信息

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