tawba/push-notification
Composer 安装命令:
composer require tawba/push-notification
包简介
Push Notification
README 文档
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
统计信息
- 总下载量: 93
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-05