engineor/bsb-flysystem-runabove
最新稳定版本:v1.0.1
Composer 安装命令:
composer require engineor/bsb-flysystem-runabove
包简介
Bridge to add flysystem-runabove to BsbFlysystem (which provides Flysystem to ZF2 projects)
README 文档
README
Installation
composer require engineor/bsb-flysystem-runabove
Add the module to your application.config.php:
return [ 'modules' => [ ... 'BsbFlysystem', 'Engineor\\Flysystem', // ADD THIS LINE 'Application', ... ], 'module_listener_options' => [ 'module_paths' => [ './module', './vendor', ], 'config_glob_paths' => [ 'config/autoload/{,*.}{global,local}.php', ], ], ];
Usage
See configuration section on flysystem-runabove for credential details.
<?php use Engineor\Flysystem\Runabove; return [ 'bsb_flysystem' => [ 'adapters' => [ 'runabove' => [ 'type' => 'runabove', 'options' => [ 'username' => ':username', 'password' => ':password', 'tenantId' => ':tenantId', 'container' => 'flysystem', 'region' => Runabove::REGION_EUROPE, // optional 'identity_endpoint' => Runabove::IDENTITY_ENDPOINT, // optional ], ], ], 'filesystems' => [ 'default' => [ 'adapter' => 'runabove', 'plugins' => [ 'League\Flysystem\Plugin\ListFiles', ], ], ], ];
Because of a service migration, the Object Storage should now be used on OVH public cloud.
Please use https://auth.cloud.ovh.net/v2.0 as identity_endpoint values. Your region should be either SBG1, GRA1 or BHS1.
统计信息
- 总下载量: 267
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-13