tavux/flysystem-ibm-cos

Flysystem Interface for IBM Cloud Object Storage

Installs: 3 640

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/tavux/flysystem-ibm-cos

1.0.1 2023-02-15 13:23 UTC

This package is auto-updated.

Last update: 2025-12-15 19:53:51 UTC


README

This is an IBM Cloud Object Storage adapter for Flysystem.

Installation

Composer is the best way, as with all of Flysystem!

composer require tavux/flysystem-ibm-cos

Usage

Initial setup would be something like this:

use Tavux\Flysystem\IBMCloudObjectStorage\IbmCosAdapter;
use League\Flysystem\Filesystem;

$storage = new Filesystem(
    new IbmCosAdapter([
        'key' => '<access_key>',
        'secret' => '<access_secret_key>',
        'region' => '<region>',
        'endpoint' => '<endpoint>',
    ], '<bucket>')
);

var_dump($storage->listContents(''));