edudip/flysystem-ovh

该包已被放弃,不再维护。未建议替代包。

OVH Openstack Swift 对象存储的 Flysystem 适配器

0.2 2019-06-04 11:27 UTC

This package is auto-updated.

Last update: 2023-07-05 16:18:25 UTC


README

Author

安装

composer require techyah/flysystem-ovh

用法

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()));

许可

这是一个开源软件,使用MIT 许可证授权。