dtapps/aliyun-oss

ThinkPHP6阿里云存储

v1.0.0 2020-08-16 00:00 UTC

This package is auto-updated.

Last update: 2024-12-08 16:55:41 UTC


README

www.dtapp.net

ThinkPHP6阿里云存储

📦 ThinkPHP6阿里云存储

Latest Stable Version Latest Unstable Version Total Downloads License PHP Version Code Health Build Status Scrutinizer Code Quality Code Coverage

依赖环境

  1. PHP7.1 版本及以上

安装

开发版

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('', '');