Download the PHP package lvxiang/getui-pushapi-php-client-v2 without Composer

On this page you can find all versions of the php package lvxiang/getui-pushapi-php-client-v2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package getui-pushapi-php-client-v2

欢迎使用个推PUSH SDK For PHP

个推PUSH SDK For PHP的主要目标是提升开发者在服务端集成个推推送服务的开发效率。 开发者不需要进行复杂编程即可使用个推推送服务的各项常用功能,SDK可以自动帮您满足调用过程中所需的鉴权、组装参数、发送HTTP请求等非功能性要求。

下面向您介绍个推PUSH SDK For PHP的使用方法。

环境要求

  1. 需要配合PHP 5.5或其以上版本。

  2. 使用个推PUSH SDK前,您需要先前往个推开发者中心 完成开发者接入的一些准备工作,创建应用。详细见操作步骤

  3. 准备工作完成后,前往个推开发者中心获取应用配置,后续将作为使用SDK的输入。详细见操作步骤

快速开始

普通调用

下列代码示例向您展示了使用个推Push SDK For PHP调用一个API的3个主要步骤:

  1. 设置参数,创建API。
  2. 发起API调用。
  3. 处理响应。
使用示例:推送API_根据cid进行单推
使用示例:统计API_获取单日推送数据
使用示例:用户API_查询用户状态

其余功能可参考该链接

设置代理

我们提供系统环境变量的方式进行代理配置,当需要使用代理进行http访问时,配置以下环境变量

已支持的API列表

以下是消息推送功能与推送API的对应关系

API类别 功能 调用的API名称
鉴权API 鉴权 初始化GTClient会自动鉴权
鉴权API 删除鉴权 GTUserApi.closeAuth
推送API cid单推 GTUserApi.pushToSingleByCid
推送API 别名单推 GTUserApi.pushToSingleByAlias
推送API cid批量单推 GTUserApi.pushBatchByCid
推送API 别名批量单推 GTUserApi.pushBatchByAlias
推送API tolist创建消息 GTUserApi.createListMsg
推送API cid批量推 GTUserApi.pushListByCid
推送API 别名批量推 GTUserApi.pushListByAlias
推送API 群推 GTUserApi.pushAll
推送API 条件筛选用户推送 GTUserApi.pushByTag
推送API 标签快速推送 GTUserApi.pushByFastCustomTag
推送API 停止任务 GTUserApi.stopPush
推送API 查询定时任务 GTUserApi.queryScheduleTask
推送API 删除定时任务 GTUserApi.deleteScheduleTask
统计API 获取推送结果 GTStatisticsApi.queryPushResultByTaskIds
统计API 任务组名查报表 GTStatisticsApi.queryPushResultByGroupName
统计API 单日推送数据 GTStatisticsApi.queryPushResultByDate
统计API 单日用户数据接口 GTStatisticsApi.queryUserDataByDate
统计API 24小时在线用户数 GTStatisticsApi.queryOnlineUserData
用户API 绑定别名 GTUserApi.bindAlias
用户API 根据cid查询别名 GTUserApi.queryAliasByCid
用户API 根据别名查询cid GTUserApi.queryCidByAlias
用户API 批量解绑别名 GTUserApi.unbindAlias
用户API 解绑所有别名 GTUserApi.unbindAllAlias
用户API 一个用户绑定一批标签 GTUserApi.setTagForCid
用户API 一批用户绑定一个标签 GTUserApi.batchModifyTagForBatchCid
用户API 一批用户解绑一个标签 GTUserApi.unbindTag
用户API 查询标签 GTUserApi.queryUserTag
用户API 添加黑名单用户 GTUserApi.addBlackUser
用户API 移除黑名单用户 GTUserApi.removeBlackUser
用户API 查询用户状态 GTUserApi.queryUserStatus
用户API 设置角标(仅支持IOS) GTUserApi.setBadge
用户API 查询用户总量 GTUserApi.queryUserCount

注:更多API持续更新中,敬请期待。

其他链接

个推开发者平台


All versions of getui-pushapi-php-client-v2 with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lvxiang/getui-pushapi-php-client-v2 contains the following files

Loading the files please wait ....