tawba / push-notification
Push Notification
Installs: 93
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/tawba/push-notification
Requires
- php: >=5.6.4
- ext-curl: *
Requires (Dev)
- phpunit/phpunit: 4.4.*
This package is not auto-updated.
Last update: 2025-10-26 02:36:15 UTC
README
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
Run the application
php index.php
Usage
use Tawba\PushNotification\NotificationService;
$notify = new NotificationService();
echo "<pre>";
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