Skip to content

Commit 3d48098

Browse files
committed
Update README.md
1 parent 7f12562 commit 3d48098

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
又拍云存储PHP SDK,基于 [又拍云存储HTTP REST API接口](http://docs.upyun.com/api/rest_api/) 开发。
55
- [更新说明](#update instructions)
66
- [使用说明](#use instructions)
7+
- [安装](#install)
78
- [初始化UpYun](#init)
89
- [示例](#usage)
910
- [上传文件](#upload file)
@@ -21,13 +22,28 @@
2122

2223
<a name="update instructions"></a>
2324
## 更新说明
24-
使用1.0.x系列版本SDK的用户,注意原有部分方法已经不再推荐使用(`@deprecated`标注),但是出于兼容考虑目前任然保留,建议更新升级程序使用新版SDK提供的方法。
25+
26+
#### 2.2.0
27+
28+
- 增加 composer 支持,特别感谢 [@totoleo](https://github.com/totoleo)`upyun/sdk` 仓库源修改为 UPYUN 官方项目地址
29+
- 移除不再推荐使用的 API:`rmDir deleteFile readDir getWritedFileInfo`),建议使用推荐方法替代
30+
- note: `2.1.0` 版本之前已经被 [@totoleo](https://github.com/totoleo) 使用
31+
32+
#### 2.0.0
33+
34+
- 使用1.0.x系列版本SDK的用户,注意原有部分方法已经不再推荐使用(`@deprecated`标注),但是出于兼容考虑目前任然保留,建议更新升级程序使用新版SDK提供的方法。
2535

2636

2737

2838
<a name="use instructions"></a>
2939
## 使用说明
30-
下载`upyun.class.php`到项目目录
40+
41+
<a name="install"></a>
42+
### 安装
43+
推荐使用 `composer` 安装
44+
```
45+
composer require upyun/sdk
46+
```
3147

3248
<a name="init"></a>
3349
### 初始化UpYun

0 commit comments

Comments
 (0)