Download the PHP package wonderpush/wonderpush-php-lib without Composer
On this page you can find all versions of the php package wonderpush/wonderpush-php-lib. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wonderpush/wonderpush-php-lib
More information about wonderpush/wonderpush-php-lib
Files in wonderpush/wonderpush-php-lib
Package wonderpush-php-lib
Short Description PHP library for WonderPush
License Apache-2.0
Homepage https://www.wonderpush.com/
Informations about the package wonderpush-php-lib
WonderPush PHP library
Find the full WonderPush services documentation at: https://docs.wonderpush.com/docs.
Introduction
This project contain a PHP library for interacting with the WonderPush services. It helps you performing calls to the Management API. This contrasts with the SDKs, which are targeted at being integrated within your apps and handle interactions with the users.
APIs
WonderPush comes as two APIs, one aimed at the user devices, and the other optional one aimed at your servers and tools. The former is simply called the REST API, whereas the latter is called the Management API.
This tool helps you performing calls to the Management API.
Management API Reference
All references for the WonderPush Management API are available on the WonderPush documentation pages: https://docs.wonderpush.com/reference.
Documentation
Please see https://wonderpush.github.io/wonderpush-php-lib for up-to-date documentation.
Requirements
PHP 5.3.3 and later.
Composer
You can install the bindings via Composer. Run the following command:
To use the bindings, use Composer's autoload:
Manual Installation
If you do not wish to use Composer, you can download the latest release.
Then, to use the bindings, include the init.php
file.
Dependencies
The bindings require the following extension in order to work properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Getting Started
Simple usage looks like:
Configuring a Logger
The library does minimal logging, but it can be configured with a PSR-3
compatible logger so that messages end up there instead of error_log
:
Development
Install dependencies:
Tests
Install dependencies as mentioned above (which will resolve PHPUnit), then you can run the test suite:
Or to run an individual test file:
All versions of wonderpush-php-lib with dependencies
ext-curl Version *
ext-json Version *