onesite/notifier
最新稳定版本:v2.0.8
Composer 安装命令:
composer require onesite/notifier
包简介
Send notification v1.0.1
README 文档
README
This package send notifications. Package is allowing send notifications with firebase, telegram, twilio,...
Installation
Install MakeResource through Composer.
"require": {
"onesite/notifier": "~1.0"
}
Using the package
Send notification with Firebase
<?php
use GuzzleHttp\Psr7\Response;
use OneSite\Notifier\Firebase;
/**
* @var Response $response
*/
$response = $this->notify->send(env('NOTIFIER_FIREBASE_TO_DEVICE'), [
'title' => 'Test send to Device',
'description' => 'Test send to Device',
'type' => 'test_device'
]);
统计信息
- 总下载量: 2.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-03