jiankechu/push-robot

企业微信消息推送

Installs: 97

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jiankechu/push-robot

1.0.1 2023-05-27 08:15 UTC

This package is auto-updated.

Last update: 2025-12-27 14:05:44 UTC


README

  • 企业微信
    //推送异常消息示例
  $config = [
            'wx_work' => [
                'key' => '企业微信群机器人key'
            ]
        ];
        $msg    = new \ZJKe\PushRobot\WxWork\MsgTplExceptionMarkdown(new Exception('test'));
        $msg->setEnv('test')->setParam(['a' => 'a'])->setUrl('/test');
        $robot = (new \ZJKe\PushRobot\WxWork\Robot($config, $msg));
        $robot->push();