Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omartawba1/push_notification
Push notification package helps you to easily push messages to Android, IOS, WindowsPhone, Chrome, and Firefox devices.
https://github.com/omartawba1/push_notification
android chrome composer firefox ios notifications php push-notifications windows-phone
Last synced: about 3 hours ago
JSON representation
Push notification package helps you to easily push messages to Android, IOS, WindowsPhone, Chrome, and Firefox devices.
- Host: GitHub
- URL: https://github.com/omartawba1/push_notification
- Owner: omartawba1
- License: mit
- Created: 2017-02-05T07:15:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-05T07:20:41.000Z (almost 8 years ago)
- Last Synced: 2024-11-15T21:39:02.226Z (about 17 hours ago)
- Topics: android, chrome, composer, firefox, ios, notifications, php, push-notifications, windows-phone
- Language: PHP
- Size: 10.7 KB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Description
Push notification package helps you to easily push messages to Android, IOS, WindowsPhone, Chrome, and Firefox devices.
## Installation
Using Composer :```
composer install
```Or you can do
```
composer require tawba/push-notification
```If you don't have composer, you can get it from [Composer](https://getcomposer.org/)
## Run the application
```
php index.php
```## Usage
```
use Tawba\PushNotification\NotificationService;$notify = new NotificationService();
echo "";
print_r($notify->send("android", ['testID', ['Test MSG']])); // You can pass android, ios, windowsphone, chrome, firefox```
## Important Notice
You should change your authentication data inside each driver if you want to use it.
These are the drivers Android::class, IOS::class, WindowsPhone::class, Chrome::class, and Firefox::class