【文件属性】:
文件名称:think-filesystem-driver-cos
文件大小:4KB
文件格式:ZIP
更新时间:2024-04-21 11:03:30
PHP
认为文件系统驱动程序cos
这是一个基于腾讯云对象存储的thinkphp6.0文件系统驱动。
安装
composer require liuwave/think-filesystem-driver-cos
在config/filesystem.php中添加配置:
'cos' => [
'type' => \liuwave\filesystem\driver\Cos::class ,
'region' => '***', //bucket 所属区域 英文
'appId' => '***', // 域名中数字部分
'secretId' => '***',
'secretKey' => '***',
'bucket'
【文件预览】:
think-filesystem-driver-cos-master
----src()
--------Cos.php(1KB)
----LICENSE(1KB)
----README.md(2KB)
----.gitignore(63B)
----composer.json(768B)