PHPackages                             ritaswc/wechat-work-robot - 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. ritaswc/wechat-work-robot

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

ritaswc/wechat-work-robot
=========================

Easy to send WechatWork Robot Message

1.0.1(5y ago)261MITPHP

Since Nov 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ritaswc/php-wechat-work-robot)[ Packagist](https://packagist.org/packages/ritaswc/wechat-work-robot)[ Fund](https://blog.yinghualuo.cn/blog/2020/11/sponsor.png)[ RSS](/packages/ritaswc-wechat-work-robot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

php-wechat-work-robot
=====================

[](#php-wechat-work-robot)

Easy to send WechatWork robot message

Usage
-----

[](#usage)

```
composer require ritaswc/wechat-work-robot
```

Send Message
------------

[](#send-message)

```
$key = 'a45bxxxx-xxxx-xxxx-xxxx-fbf0a09cxxxx';
$robot = new \Ritaswc\WechatWorkRobot\WechatWorkRobot($key);

$robot->sendText('PHP is the best language in the world!', ['huixinchen', '@all']);
$robot->sendText('PHP is the best language in the world!', [], ['199****1322', '@all']);

$robot->sendImage('wechatpay.png');
$robot->sendImage('https://blogoss.yinghualuo.cn/blog/2019/05/wechatpay.png');

$robot->sendMarkDown("## 欢迎使用支付宝赞助
## 欢迎使用微信赞助");

$robot->sendNews([
    [
        'title'       => 'Charles的小星球',
        'description' => '一个PHP码农的自述',
        'url'         => 'https://blog.yinghualuo.cn',
        'picurl'      => 'https://blog.yinghualuo.cn/wp-content/themes/twentyseventeen/assets/images/header.jpg',
    ],
    [
        'title'       => 'Charles的小星球1',
        'description' => '一个PHP码农的自述1',
        'url'         => 'https://blog.yinghualuo.cn',
        'picurl'      => 'https://blog.yinghualuo.cn/wp-content/themes/twentyseventeen/assets/images/header.jpg',
    ]
]);
```

Author Blog
-----------

[](#author-blog)

[Charles的小星球](https://blog.yinghualuo.cn)

Dingtalk Document
-----------------

[](#dingtalk-document)

[如何配置群机器人？](https://work.weixin.qq.com/help?person_id=1&doc_id=13376)

License
-------

[](#license)

MIT

Sponsor
-------

[](#sponsor)

[![QrCode](https://camo.githubusercontent.com/2feecdc6c38e688236f6833db15feb341f37876ea120e86e756845226b9d15d2/68747470733a2f2f626c6f672e79696e676875616c756f2e636e2f626c6f672f323032302f31312f73706f6e736f722e706e67)](https://camo.githubusercontent.com/2feecdc6c38e688236f6833db15feb341f37876ea120e86e756845226b9d15d2/68747470733a2f2f626c6f672e79696e676875616c756f2e636e2f626c6f672f323032302f31312f73706f6e736f722e706e67)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

2014d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d573b192b6e1ea26030ba9b8830fd42baa06eae328898442ef55ac24e5101c4?d=identicon)[ritaswc](/maintainers/ritaswc)

---

Top Contributors

[![ritaswc](https://avatars.githubusercontent.com/u/15887140?v=4)](https://github.com/ritaswc "ritaswc (8 commits)")

### Embed Badge

![Health badge](/badges/ritaswc-wechat-work-robot/health.svg)

```
[![Health](https://phpackages.com/badges/ritaswc-wechat-work-robot/health.svg)](https://phpackages.com/packages/ritaswc-wechat-work-robot)
```

PHPackages © 2026

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