edudip / flysystem-ovh
Flysystem Adapter for OVH Openstack Swift Object Storage
Installs: 1 993
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
- league/flysystem: ~1.0
- rackspace/php-opencloud: ~1.12
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2023-07-05 16:18:25 UTC
README
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.