# 企业微信群机器人 PHP扩展包
**Repository Path**: liguangchun/qyweixin-grouprobot
## Basic Information
- **Project Name**: 企业微信群机器人 PHP扩展包
- **Description**: ThinkPHP6企业微信群通知
- **Primary Language**: PHP
- **License**: MIT
- **Default Branch**: master
- **Homepage**: https://packagist.org/packages/liguangchun/qyweixin-grouprobot
- **GVP Project**: No
## Statistics
- **Stars**: 10
- **Forks**: 3
- **Created**: 2019-11-19
- **Last Updated**: 2024-03-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
📦 ThinkPHP6企业微信群通知
[](https://packagist.org/packages/liguangchun/qyweixin-grouprobot)
[](https://packagist.org/packages/liguangchun/qyweixin-grouprobot)
[](https://packagist.org/packages/liguangchun/qyweixin-grouprobot)
[](https://packagist.org/packages/liguangchun/qyweixin-grouprobot)
[](http://www.php.net/)
[](https://hn.devcloud.huaweicloud.com/codecheck/project/c7ff3e2d65674858bd363cb43ee6c35e/codecheck/task/e6994f8dd7774d03913b1e505800e6d0/detail)
[](https://travis-ci.org/GC0202/qyweixin-grouprobot)
[](https://scrutinizer-ci.com/g/GC0202/qyweixin-grouprobot/?branch=6.0)
[](https://scrutinizer-ci.com/g/GC0202/qyweixin-grouprobot/?branch=6.0)
## 依赖环境
1. PHP7.1 版本及以上
## 安装
- 国外仓库地址:[https://github.com/GC0202/qyweixin-grouprobot](https://github.com/GC0202/qyweixin-grouprobot)
- 国内仓库地址:[https://gitee.com/liguangchun/qyweixin-grouprobot](https://gitee.com/liguangchun/qyweixin-grouprobot)
- Packagist 地址:[https://packagist.org/packages/liguangchun/qyweixin-grouprobo](https://packagist.org/packages/liguangchun/qyweixin-grouprobo)
### 开发版
```text
composer require liguangchun/qyweixin-grouprobot dev-master -vvv
```
### 稳定版
```text
composer require liguangchun/qyweixin-grouprobot -vvv
```
## 更新
```
composer update liguangchun/qyweixin-grouprobot -vvv
```
## 删除
```
composer remove liguangchun/qyweixin-grouprobot -vvv
```
## 使用
```php
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());
}
```