techyah/flysystem-ovh

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

Flysystem Adapter for OVH Openstack Swift Object Storage

Maintainers

👁 sumihiran

Package info

github.com/techyah/flysystem-ovh

pkg:composer/techyah/flysystem-ovh

Statistics

Installs: 11 049

Dependents: 2

Suggesters: 2

Stars: 11

Open Issues: 1

1.0.1 2015-12-01 03:31 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 1aabe4ca66d0d495e8173537f2efbacca530840c

  • Nuwan Sumihiran Bandara <nuwan.woop@techyah.com>

This package is not auto-updated.

Last update: 2019-12-28 18:59:26 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()));

Laravel

for laravel add this line to the providers array in config/app.php :

Techyah\Flysystem\OVH\Supports\Laravel\OVHServiceProvider::class,

License

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