Download the PHP package riverslei/xmpush without Composer

On this page you can find all versions of the php package riverslei/xmpush. 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 xmpush

概述

目前国内消息推送,从稳定性、资费、到达率等标准来衡量,个人推荐 小米推送

由于小米官方没有提供composer的安装渠道。对于现代化的开发,非常不方便。

个人简单将小米推送代码加入一些composer信息后,可使用composer进行安装。

版本

composer版本 官方版本 修改日志 官方更新时间
v1.0.3 2.2.20版 支持多机房, 提高网络连通性, 保证Push API可用性;新增iOS10新字段的支持 2017.8.3 更新
v1.0.2 2.2.16版 关闭 小米 在http 请求中添加的打印信息 2016.3.28 更新
v1.0.1 2.2.16版 解决composer自动加载问题 2016.3.28 更新
v1.0.0 2.2.16版 新增对多包名发送alias/regid/topic消息的支持 2016.3.28 更新

通过composer进行安装

通过composer,这是制作本sdk的初衷,可以使用composer.json 声明依赖,或者运行下面的命令。SDK 包已经放到这里 riverslei/xmpush

放入composer.json文件中

关于维护

当前版本,是: PHP 2.2.20版 于2017.8.3更新

我会长期维护 本 SDK与官方的同步。

承诺

所有核心代码均为小米源码,没有任何篡改,仅针对部分php特性进行处理

后期为了效率可能会改写为 php7 的版本。

下文为官方相关信息


All versions of xmpush with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
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 riverslei/xmpush contains the following files

Loading the files please wait ....