PHPackages                             hiilee/cool-qq - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hiilee/cool-qq

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hiilee/cool-qq
==============

利用coolq(酷Q)实现php发送qq消息

v1.0.2(9y ago)3441[1 issues](https://github.com/HiiLee/CoolQQ/issues)PHPPHP &gt;=5.4.0

Since Feb 19Pushed 9y ago2 watchersCompare

[ Source](https://github.com/HiiLee/CoolQQ)[ Packagist](https://packagist.org/packages/hiilee/cool-qq)[ Docs](https://github.com/HiiLee/CoolQQ)[ RSS](/packages/hiilee-cool-qq/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)DependenciesVersions (5)Used By (0)

CoolQQ
======

[](#coolqq)

coolq插件php对接的封装, 实现php发送qq消息

requrie
-------

[](#requrie)

- php对接插件1.3
- coolq平台

使用说明
----

[](#使用说明)

coolq(酷q)

[![](https://camo.githubusercontent.com/a2e5496c6d9722cf10622d4cf9e030b0cda26d62/687474703a2f2f7773312e73696e61696d672e636e2f6c617267652f38633931666661626779316663767261646a3671756a32306775306375337a69)](https://camo.githubusercontent.com/a2e5496c6d9722cf10622d4cf9e030b0cda26d62/687474703a2f2f7773312e73696e61696d672e636e2f6c617267652f38633931666661626779316663767261646a3671756a32306775306375337a69)

\###具体使用细节

```
//发送消息前需获取coolq实列;实列为私有Coolq静态成员
CoolQ::getCoolQ('192.168.137.217', 19739);

//常用功能
$msg = new QQMsg();
//讨论组qqtask
$msg->qqNo = '1624648313';//讨论组号
$msg->type = QQMsg::MSG_TYPE_DISCUSS;//发送消息类型为讨论组
$msg->msg = '现在北京时间: ' . date('Y-m-d H:i:s');
CoolQ::sendQqMsg($msg);

//多条内容拼接为一条消息,最终qq消息内容以换行符分隔
$msgBody = ['第一行'];
$msgBody[] = '第二行';
$msg->msg = $msgBody;
CoolQ::sendQqMsg($msg);

//发送qq群消息,并@某人
$msg->msg = [
    CoolQ::sendAt('123321123'),//@某群成员,填写qq号
    '老板, 今天开会不',
];
//CoolQ::sendQqMsg($msg);
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 92.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

4

Last Release

3410d ago

Major Versions

v0.1.0 → v1.02017-02-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/e03ed8f702ae31fa25f473129a56e583cd674ccddd9a1bd1269352781f440244?d=identicon)[HiiLee](/maintainers/HiiLee)

---

Top Contributors

[![HeinLee](https://avatars.githubusercontent.com/u/7197138?v=4)](https://github.com/HeinLee "HeinLee (37 commits)")[![HeRayden](https://avatars.githubusercontent.com/u/5555702?v=4)](https://github.com/HeRayden "HeRayden (3 commits)")

---

Tags

coolqphpqqphpqqqcoolq

### Embed Badge

![Health badge](/badges/hiilee-cool-qq/health.svg)

```
[![Health](https://phpackages.com/badges/hiilee-cool-qq/health.svg)](https://phpackages.com/packages/hiilee-cool-qq)
```

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21422.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
