PHP code example of yuxiaobo / workwechat-bot-notify
1. Go to this page and download the library: Download yuxiaobo/workwechat-bot-notify library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
yuxiaobo / workwechat-bot-notify example snippets
$notify = new WorkWechatBotNotify($_ENV['key']);
$notify->sendText('这是一个测试', [], ['18311548014']);
$notify = new WorkWechatBotNotify($_ENV['key']);
$notify->sendMarkdown("# 这是一个`Markdown`测试\n> 111");