ardeveloppement/flysystem-ovh

This package is abandoned and no longer maintained. No replacement package was suggested.

Flysystem Adapter for OVH Openstack Swift Object Storage

0.2 2019-06-04 11:27 UTC

This package is auto-updated.

Last update: 2023-07-05 16:31:30 UTC


README

Author

Installation

composer require techyah/flysystem-ovh

Usage

use League\Flysystem\Filesystem;
use Techyah\Flysystem\OVH\OVHClient;
use Techyah\Flysystem\OVH\OVHAdapter;

$options = [
   'username'  => ':username',
   'password'  => ':password',
   'tenantId'  => ':tenantId',
   'container' => ':container',
   'region'    => ':region', // default BHS1
];

$client = new OVHClient($options);

$filesystem = new Filesystem(new OVHAdapter($client->getContainer()));

License

This is open-sourced software licensed under the MIT license.