File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 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```
2325PS: 在下载的中的[ 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```
41412 . 执行 ` php composer.phar install ` 或 ` php composer.phar update ` 进行安装
4242
43-
44-
45-
4643### 快速使用
4744
4845#### 代码示例
@@ -123,7 +120,6 @@ $response = $client->schedule()->createSingleSchedule("每天14点发送的定
123120echo 'Result=' . json_encode($response) . $br;
124121```
125122
126-
127123### 版本更新
128124
129125[ Release页面] ( https://github.com/jpush/jpush-api-php-client/releases/ ) 有详细的版本发布记录与下载。
You can’t perform that action at this time.
0 commit comments