PHPackages                             xutl/yii2-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. xutl/yii2-dingtalk

ActiveYii2-extension[API Development](/categories/api)

xutl/yii2-dingtalk
==================

The dingtalk extension for the Yii framework

1.0.1(8y ago)14.6k2MITPHPPHP &gt;=5.4.0

Since Sep 13Pushed 8y agoCompare

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

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

yii2-dingtalk
=============

[](#yii2-dingtalk)

[![Latest Stable Version](https://camo.githubusercontent.com/2d0e257ba12429f1c8f0b8dc5f58d45378c1f4e43128dd4e72c59229cb3b19c7/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d64696e6774616c6b2f762f737461626c652e706e67)](https://packagist.org/packages/xutl/yii2-dingtalk)[![Total Downloads](https://camo.githubusercontent.com/bebd9ab487ce9819eb56ad97bff33bbc768156a1d9c4a9dc4af8827efe8a18a4/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d64696e6774616c6b2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/xutl/yii2-dingtalk)[![Dependency Status](https://camo.githubusercontent.com/5cbc2e7bcbb01bd899a452e39b7754c1cf66559a6f6205322d3003a5fb7a75ad/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7875746c3a796969322d64696e6774616c6b2f6465762d6d61737465722f62616467652e706e67)](https://www.versioneye.com/php/xutl:yii2-dingtalk/dev-master)[![License](https://camo.githubusercontent.com/7594adf195a73d89282f4e6baebf371b96781dcaf2cbad703383dc64ca197a4b/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d64696e6774616c6b2f6c6963656e73652e737667)](https://packagist.org/packages/xutl/yii2-dingtalk)

Installation
------------

[](#installation)

Next steps will guide you through the process of installing using [composer](http://getcomposer.org/download/). Installation is a quick and easy three-step process.

### Step 1: Install component via composer

[](#step-1-install-component-via-composer)

Either run

```
composer require --prefer-dist xutl/yii2-dingtalk

```

or add

```
"xutl/yii2-dingtalk": "~1.0.0"
```

to the `require` section of your composer.json.

### Step 2: Configuring your application

[](#step-2-configuring-your-application)

Add following lines to your main configuration file:

```
    'components' => [
        'log' => [
            'targets' => [
                [
                    'class' => 'xutl\dingtalk\DingTalkTarget',
                    'dingTalk' => 'dingTalk',
                    'levels' => ['error', 'warning'],
                ],
            ],
        ],
        'dingTalk' => [
            'class' => 'xutl\dingtalk\DingTalk',
            'accessToken' => '1234567890',
        ],
    ],
```

### Step 3: Start using

[](#step-3-start-using)

```
Yii::$app->dingTalk->sendText('我其实是一个机器人');
Yii::$app->dingTalk->sendLink('我其实是一个机器人','我其实是一个机器人我其实是一个机器人我其实是一个机器人我其实是一个机器人！','','https://www.dingtalk.com/');
Yii::$app->dingTalk->sendMarkdown('我其实是一个机器人','我其实是一个机器人');
Yii::$app->dingTalk->sendActionCard......
```

Read [https://open-doc.dingtalk.com/docs/doc.htm?spm=a219a.7629140.0.0.p2lr6t&amp;treeId=257&amp;articleId=105733&amp;docType=1](https://open-doc.dingtalk.com/docs/doc.htm?spm=a219a.7629140.0.0.p2lr6t&treeId=257&articleId=105733&docType=1) to continue

License
-------

[](#license)

This is released under the MIT License. See the bundled [LICENSE.md](LICENSE.md)for details.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

3162d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87b658aa9d49e0c80cfc609fa2b9dc6d615672b1d895f421f751945a0e394087?d=identicon)[larvacent](/maintainers/larvacent)

---

Top Contributors

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

---

Tags

dingtalkyii2yii2-extensionapiyiidingtalk

### Embed Badge

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

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

###  Alternatives

[sonko-dmitry/yii2-telegram-bot-api

Telegram bot api component for Yii2

2132.2k](/packages/sonko-dmitry-yii2-telegram-bot-api)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1243.1k1](/packages/skeeks-yii2-google-api)

PHPackages © 2026

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