Skip to content

Commit 904a282

Browse files
author
Helperhaps
committed
update README
1 parent 3a923fe commit 904a282

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# JPush API client library for PHP
44

5+
> **此分支已不再维护,如果你的 PHP 版本大于 5.3.3 请使用 Master 分支的代码,或通过 Composer 下载安装 v3.5.0 以上版本。**
6+
57
### 简要概述
68

79
* 本API提供简单的接口去调用[JPush Push API](examples/push_example.php)
@@ -22,27 +24,22 @@ require_once("../JPush/JPush.php");
2224
```
2325
PS: 在下载的中的[example](https://github.com/jpush/jpush-api-php-client/tree/master/examples)文件夹有简单示例代码, 开发者可以参考其中的样例快速了解该库的使用方法.
2426

25-
26-
2727
#### 使用 Composer
2828

2929
如果你的项目使用composer管理依赖, 亦可以通过以下方式使用JPush PHP Library.
3030

3131

32-
1.`composer.json` 中添加 jpush依赖, 目前最新版本为 v3.3.9
32+
1.`composer.json` 中添加 jpush依赖
3333

3434
```
3535
{
3636
"require":{
37-
"jpush/jpush": "v3.4.2"
37+
"jpush/jpush": "v3.4.*"
3838
}
3939
}
4040
```
4141
2. 执行 `php composer.phar install``php composer.phar update` 进行安装
4242

43-
44-
45-
4643
### 快速使用
4744

4845
#### 代码示例
@@ -123,7 +120,6 @@ $response = $client->schedule()->createSingleSchedule("每天14点发送的定
123120
echo 'Result=' . json_encode($response) . $br;
124121
```
125122

126-
127123
### 版本更新
128124

129125
[Release页面](https://github.com/jpush/jpush-api-php-client/releases/)有详细的版本发布记录与下载。

0 commit comments

Comments
 (0)