dtapps / aliyun-oss
ThinkPHP6阿里云存储
v1.0.0
2020-08-16 00:00 UTC
Requires
- php: >=7.1
- aliyuncs/oss-sdk-php: ^2.3
- liguangchun/think-library: 6.0.*
This package is auto-updated.
Last update: 2024-12-08 16:55:41 UTC
README
ThinkPHP6阿里云存储
📦 ThinkPHP6阿里云存储
依赖环境
- PHP7.1 版本及以上
安装
- 国外仓库地址:https://github.com/dtapps/aliyun-oss
- 国内仓库地址:https://gitee.com/dtapps/aliyun-oss
- Packagist 地址:https://packagist.org/packages/dtapps/aliyun-oss
开发版
composer require dtapps/aliyun-oss dev-master -vvv
稳定版
composer require dtapps/aliyun-oss -vvv
更新
composer update dtapps/aliyun-oss -vvv
删除
composer remove dtapps/aliyun-oss -vvv
使用
use DtApp\AliYun\aliyun\OssService; OssService::instance() ->accessKeyId('') ->accessKeySecret('') ->bucket('') ->endpoint('') ->upload('', '');