klinson/aws-s3-minio
最新稳定版本:v1.3.1
Composer 安装命令:
composer require klinson/aws-s3-minio
包简介
Flexible and feature-complete minio client for PHP, depend on aws/aws-sdk-php
README 文档
README
Description
Flexible and feature-complete minio client for PHP, depend on aws/aws-sdk-php
Installation
composer require klinson/aws-s3-minio
How to use Minio to control object
Loading the library
require 'Minio/Autoloader.php'; Minio\Autoloader::register();
Connecting to Minio
$ObjectClient = new ObjectClient(); // Get the access url, expire at 60 second $url = $ObjectClient->getObjectUrl($save_path, time() + 60);
// Parameters passed using a named array: $minio_config = [ 'key' => 'minio-key', 'secret' => 'minio-secret', 'region' => '', 'version' => 'latest', 'endpoint' => 'http://127.0.0.1:9000', 'bucket' => 'minio-bucket', ]; $ObjectClient = new ObjectClient($minio_config);
统计信息
- 总下载量: 15.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-18