senao/think-filesystem-cloud
最新稳定版本:1.0
Composer 安装命令:
composer require senao/think-filesystem-cloud
包简介
Senao The ThinkPHP6 Cloud Filesystem Package
README 文档
README
要求
- php 7.1
- topthink/framework 6.0.0
使用
composer require senao/think-filesystem-cloud
配置
config/filesystem.php
"disks" => [
// oss 配置
'oss' => [
'type' => 'oss',
'prefix' => '',
'access_key' => '';
'secret_key' => '';
'end_point' => '';
'bucket' => '';
'is_cname' => true
],
// 七牛配置
'qiniu' => [
'type' => 'qiniu',
'access_key' => '',
'secret_key' => '',
'bucket' => '',
'domain' => '',
],
// 腾讯云配置
'qcloud' => [
'type' => 'qcloud',
'region' => '',
'credentials' => [
'appId' => , // 域名中数字部分
'secretId' => '',
'secretKey' => '',
],
'bucket' => 'test',
'timeout' => 60,
'connect_timeout' => 60,
'cdn' => '您的 CDN 域名',
'scheme' => 'https',
'read_from_cdn' => false,
]
协议
MIT
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-05