noxil/simplelinealert
最新稳定版本:v1.0.0
Composer 安装命令:
composer require noxil/simplelinealert
包简介
Easy to create notification to Line by Line Notify Api
README 文档
README
Simple Line Alert is a Library for easy sending message by Line Notify API.
Installation
Use the package manager composer to install Simple Line Alert.
composer i noxil/simplelinealert php artisan vendor:publish --provider="noxil\simplelinealert\SimpleLineAlertServiceProvider" --tag="config"
Edit Config File at /Config/simplelinealert.php
<?php return [ 'url_line_notify' => 'https://notify-api.line.me/api/notify', 'api_key' => '', // Edit Api key from Line Notify Api ];
Usage
use noxil\simplelinealert;
....
# returns 'resulut from Line Notify'
$sla = new SimpleLineAlert();
$sla.sendmessage('Message to sent');
....
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-11