PHPackages                             chenyongze/ding-talk-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. chenyongze/ding-talk-robot

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

chenyongze/ding-talk-robot
==========================

钉钉机器人php库

2.1.x-dev(6y ago)1181[1 PRs](https://github.com/chenyongze/ding-talk-robot/pulls)MITPHPPHP &gt;=7.0

Since Feb 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/chenyongze/ding-talk-robot)[ Packagist](https://packagist.org/packages/chenyongze/ding-talk-robot)[ RSS](/packages/chenyongze-ding-talk-robot/feed)WikiDiscussions master Synced today

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

###### 钉钉机器人 ---- 如何使用

[](#钉钉机器人------如何使用)

> composer require chenyongze/ding-talk-robot:dev-master

1.引入命名空间 use Yongze\\DingtalkRobot;

2.实例化类 $a = new DingtalkRobot($webhook);

3.调用方法进行发送机器人消息 $a-&gt;setText(text)-&gt;send();

同理还支持其他格式的消息类型，使用方法类似，如下：

- $a-&gt;setText(text,\[$atMobiles,$isAtAll\])-&gt;send();
- $a-&gt;setLink(text,$title,$messageUrl,$picUrl)-&gt;send();
- $a-&gt;setMarkdown(text,$title)-&gt;send();
- $a-&gt;setActionCard(text,$title,$btns,$btnOrientation,$hideAvatar)-&gt;send();
- $a-&gt;setFeedcard($data)-&gt;send(); **必须包含title，messageURL，picURL的数组**

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

2437d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/chenyongze-ding-talk-robot/health.svg)

```
[![Health](https://phpackages.com/badges/chenyongze-ding-talk-robot/health.svg)](https://phpackages.com/packages/chenyongze-ding-talk-robot)
```

###  Alternatives

[hyperf/di

A DI for Hyperf.

182.8M594](/packages/hyperf-di)[jellybool/translug

Translate Chinese And Then Make It Sluggable

14845.7k](/packages/jellybool-translug)[pantheon-systems/quicksilver-pushback

Push commits made via the Pantheon dashboard back to original GitHub repository.

153.1M18](/packages/pantheon-systems-quicksilver-pushback)[laravel-admin-ext/latlong

Latitude &amp; Longitude selector

7056.3k](/packages/laravel-admin-ext-latlong)[symbiote/silverstripe-versionedfiles

Add versioning to files

2232.5k3](/packages/symbiote-silverstripe-versionedfiles)[setono/sylius-mailchimp-plugin

Mailchimp plugin for Sylius.

1137.2k](/packages/setono-sylius-mailchimp-plugin)

PHPackages © 2026

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