2017 © Pedro Peláez
 

library ding-ding-robot

钉钉机器人,通知,报警,机器人,webhook

image

itcats/ding-ding-robot

钉钉机器人,通知,报警,机器人,webhook

  • Sunday, April 15, 2018
  • by itcats
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

DingDingRobot

钉钉机器人webhook, (*1)

使用方法:, (*2)

 include_once 'vendor/autoload.php';

/**
 * 必填
 * 钉钉机器人的webhook地址
 */
 $web_hook = '';

/**
 * 选填
 * 需要被通知人的手机号(可在钉钉上查看)
 */
 $at_mobiles = array();

/**
 * 选填
 * 是否全部被@,默认为true
 */
 $is_at_all = true;

 $robot = new Itcats\DingtalkSDK\Dingtalk($web_hook);
 $txt   = 'hello itcats!';
 $robot->sendTextMsg($txt);

The Versions

15/04 2018

dev-master

9999999-dev

钉钉机器人,通知,报警,机器人,webhook

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Avatar itcats

framework thinkphp 钉钉 日志报警 itcats