Download the PHP package dropfan/onesignal-server-api without Composer

On this page you can find all versions of the php package dropfan/onesignal-server-api. 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 onesignal-server-api

OneSignal-server-API

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock StyleCI

OneSignal server API for PHP, you can push notifications to any platform. (iOS/APNS, Android/GCM/FCM, WP, Web/Chrome/Safari...etc.)

No third-party dependency that you can use this library in any project or framework.

There are several packages for OneSignal, but some rely on third-party library or certain framework components. That's reason of this project.

Requirements:

You'll need at least PHP 5.6.

Installation:

install via composer:

Of course you can clone this project manually then move it into your projects.

But for simple use,pass parameters by array rather than Object/Class (like ORM), you can move OneSignal.php into your projects only.

Surely, the ORM-style have not been finish. I will finish it later when I have enough time。

Usage:

There are some samples in examples dir.

https://github.com/DropFan/onesignal-server-api/tree/master/examples

You can follow the offical ducumention from OneSignal.

OneSignal API Documention

Contacts:

Author: Tiger(DropFan)

Email: [email protected]

Wechat: DropFan

Telegram: DropFan

https://about.me/DropFan

LICENSE:

MIT License

TODO:

I will complete follow list when I have enough time.


All versions of onesignal-server-api with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0|7.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 dropfan/onesignal-server-api contains the following files

Loading the files please wait ....