liguangchun/qyweixin-grouprobot

ThinkPHP6企业微信群通知

v1.0.5 2019-10-26 00:00 UTC

This package is auto-updated.

Last update: 2024-12-08 02:57:52 UTC


README

www.dtapp.net

ThinkPHP6企业微信群通知

📦 ThinkPHP6企业微信群通知

Latest Stable Version Latest Unstable Version Total Downloads License PHP Version Code Health Build Status Scrutinizer Code Quality Code Coverage

依赖环境

  1. PHP7.1 版本及以上

安装

开发版

composer require liguangchun/qyweixin-grouprobot dev-master -vvv

稳定版

composer require liguangchun/qyweixin-grouprobot -vvv

更新

composer update liguangchun/qyweixin-grouprobot -vvv

删除

composer remove liguangchun/qyweixin-grouprobot -vvv

使用

use DtApp\Notice\QyWeiXin\qywechat\GroupRobotService;

try {
    GroupRobotService::instance()
        ->key('xxx-x-x-x-xxx')
        ->text('测试');
} catch (\DtApp\Notice\QyWeiXin\exception\Exception $e) {
    var_dump($e->getMessage());
}