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
- Host: GitHub
- URL: https://github.com/borsaco/pushenotification
- Owner: borsaco
- License: mit
- Created: 2019-07-09T07:03:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-09T07:07:38.000Z (almost 7 years ago)
- Last Synced: 2025-03-06T18:50:23.079Z (over 1 year ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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