opensooq/yii2-firebase-notifications
Composer 安装命令:
composer require opensooq/yii2-firebase-notifications
包简介
This extension will make send firebase notifications easy to do for the Yii2 framework
README 文档
README
This extension will make send firebase notifications easy to do for the Yii2 framework.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisities
Yii2 application
composer require yiisoft/yii2
Installing
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist "opensooq/yii2-firebase-notifications": "dev-master"
or add
"opensooq/yii2-firebase-notifications": "dev-master"
to the require section of your composer.json file.
Usage
$service = new FirebaseNotifications(['authKey' => 'YOUR_KEY']); $service->sendNotification($tokens, $message);
You can clone the android build here, and use it to test your code.
统计信息
- 总下载量: 13.88k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2016-06-29