Go to file
2018-12-21 18:34:43 +08:00
src Merge branch 'master' of git.int.haowumc.com:arch/php-alert-client 2018-12-21 18:34:43 +08:00
tests Merge branch 'master' of git.int.haowumc.com:arch/php-alert-client 2018-12-21 18:34:43 +08:00
.gitignore init 2018-05-08 15:35:56 +08:00
composer.json 跟随 php-internal-api-client 修改 2018-06-23 11:23:14 +08:00
composer.lock 跟随 php-internal-api-client 修改 2018-06-23 11:23:14 +08:00
README.md init 2018-05-08 15:40:54 +08:00

报警或通知 (PHP版)

该项目使用 composer 来完成加载

执行

composer config repositories.php-alert vcs git@git.int.haowumc.com:arch/php-alert-client.git
composer require arch/alert

如何使用

//通知单个或多个用户文本消息
user_text_alert('dongwei|lisida','快去领红包');

//通知一个企业微信群文本消息
chat_text_alert('api','系统挂了');