gn-office/flysystem-directcloud

A flysystem driver for DirectCloud

Installs: 71

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/gn-office/flysystem-directcloud

v1.1.9 2025-06-04 03:16 UTC

This package is auto-updated.

Last update: 2025-10-04 03:59:01 UTC


README

Latest Version on Packagist Total Downloads

This package contains a Flysystem adapter for DirectCloud. Under the hood, the DirectCloud API is used.

Installation

You can install the package via composer:

composer require gn-office/flysystem-directcloud

Usage

The first thing you need to do is to get an authorization information at DirectCloud. You'll find more info at DirectCloud API Documentation.

use League\Flysystem\Filesystem;
use GNOffice\DirectCloud\Client;
use GNOffice\FlysystemDirectCloud\DirectCloudAdapter;

$client = new Client([$service, $service_key, $code, $id, $password]);
// or
$client = new Client([$service, $service_key, $access_key]);

$adapter = new DirectCloudAdapter($client);

$filesystem = new Filesystem($adapter);

License

The MIT License (MIT). Please see License File for more information.