PHPackages                             cyzonetech/dingtalk - 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. [API Development](/categories/api)
4. /
5. cyzonetech/dingtalk

ActiveLibrary[API Development](/categories/api)

cyzonetech/dingtalk
===================

DingTalk server API. 钉钉服务器API，支持发送工作通知和机器人消息

0.0.4.2(5y ago)042MITPHPPHP &gt;=7.0

Since Mar 13Pushed 5y agoCompare

[ Source](https://github.com/cyzonetech/dingtalk)[ Packagist](https://packagist.org/packages/cyzonetech/dingtalk)[ RSS](/packages/cyzonetech-dingtalk/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (7)Used By (0)

dingtalk
========

[](#dingtalk)

钉钉服务器API，支持发送工作通知和机器人消息

初始化
---

[](#初始化)

```
$dd = new \Everalan\DingTalk\DingTalk([
    'appKey' => 'dingxxxxx',
    'appSecret' => 'Y75DULKtrpu_xxxxx',
]);
```

发送工作通知
------

[](#发送工作通知)

```
$message = new \Everalan\DingTalk\Messages\Text('@张三 测试消息');
$dd->sendWorkNotice('024246103336342620', $message, 241709217);
```

发送机器人消息
-------

[](#发送机器人消息)

```
$message = new \Everalan\DingTalk\Messages\ActionCard('公司春游你参加吗？', 'markdown text');
$message->addButton('参加', 'http://www.baidu.com');
$message->addButton('拒绝', 'http://www.weibo.cn');
$message->btnOrientation(1);

$dd->sendBot('c02ff0eb36f41a6ecd753xxxxxxxxxx',$message);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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 ~95 days

Recently: every ~119 days

Total

6

Last Release

2138d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ef3569ae46017080f8b5991b777151e843af273ee124f0cd65f6cffa6cb0cfd?d=identicon)[cyzonetech](/maintainers/cyzonetech)

---

Top Contributors

[![everalan](https://avatars.githubusercontent.com/u/3772707?v=4)](https://github.com/everalan "everalan (7 commits)")[![cyzonetech](https://avatars.githubusercontent.com/u/30819954?v=4)](https://github.com/cyzonetech "cyzonetech (3 commits)")

### Embed Badge

![Health badge](/badges/cyzonetech-dingtalk/health.svg)

```
[![Health](https://phpackages.com/badges/cyzonetech-dingtalk/health.svg)](https://phpackages.com/packages/cyzonetech-dingtalk)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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