An open API service indexing awesome lists of open source software.

https://github.com/borsaco/pushenotification

PHP pushe.co API wrapper
https://github.com/borsaco/pushenotification

Last synced: 11 months ago
JSON representation

PHP pushe.co API wrapper

Awesome Lists containing this project

README

          

# PusheNotification
PHP pushe.co API wrapper

## Install

Via Composer

``` bash
composer require borsaco/pushe-notification
```
## Initialise

first initialise with this code and token you get from http://poushe.co

```php

```
## Usage

For set add application:
```php
addApplication('com.example.app');

?>
```

For set Notification part:
```php
setTitle('title');
$notification->setContent('test content');

$pushNotification->setNotification($notification);

?>
```

Finaly you can send notification with ```send()``` method:
```php
send();

?>
```

## More

You can find more information in: http://panel.pushe.co/documentation