Download the PHP package singiu/singpush without Composer

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

整合了小米推送、华为推送、友盟推送、苹果推送服务的整合包

Latest Stable Version Total Downloads Latest Unstable Version License

这个是我自己项目中使用的包,因为在国内不能使用 Google 推送服务,Android 又来兼容各平台机型,所以需要在客户端植入各种推送 SDK。

后台服务也需要对应开发各类推送服务,我不想去接入各个平台提供的服务端 SDK,所以自己做了一个这样的整合包,目前功能只有发送简单的推送消息栏通知。

用户点击消息也是默认跳回到 app 而已。所以如果不能满足你的需求的,就不要使用了。

后续如果有时间,我会加入自定义消息推送消息透传的功能,这样可能就会比较大众一些了。

安装

可以使用 Composer 安装:

使用方法

发关消息栏通知

如果你觉得配置过于麻烦,我推荐使用一个 php 下好用的配置包: symfony/dotenv

如果你会使用这个包,那就只需要将 vendor/singiu/singpush/src/.env.example 文件中对应的配置信息填好,然后拷贝到你的项目根目录下,并改名为 .env(如果你已经有这个文件,那就将 .env.example 中的内容复制并粘贴到你的 .env 文件的内容后面)。

一旦你这样做了,配合 symfony/dotenv 包,你就可以省去配置的环节,直接在你的项目的任何位置使用推送服务。如下:

License

The MIT License (MIT). Please see License File for more information.


All versions of singpush with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
singiu/http-php Version ^1.0.0
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 singiu/singpush contains the following files

Loading the files please wait ....