PHPackages                             volicano/dingding-push - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. volicano/dingding-push

ActivePackage[Mail &amp; Notifications](/categories/mail)

volicano/dingding-push
======================

dingding push message

04PHP

Since Jun 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/volicano/dingding-push)[ Packagist](https://packagist.org/packages/volicano/dingding-push)[ RSS](/packages/volicano-dingding-push/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

dingding-push
=============

[](#dingding-push)

介绍
--

[](#介绍)

dingding-push封装了钉钉发送群组消息验证、可以在群中@某个人或者是@所有人，提供简洁的 API 以供方便快速地调用钉钉发送消息提醒。

环境要求
----

[](#环境要求)

- PHP 7.0+
- [Composer](https://getcomposer.org/)

安装
--

[](#安装)

推荐的方式是通过composer 进行下载安装[composer](http://getcomposer.org/download/)。

在命令行执行

```
composer require volicano/dingding-push

```

或加入

```
"volicano/dingding-push": "dev-master"

```

到你的`composer.json`文件中的require段。

然后再.env文件里配置DINGDING\_TOKEN和DINGDING\_SECRET

```
DINGDING_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxx
DINGDING_SECRET=xxxxxxxxxxxxxxxxxxxxxxxx

```

使用
--

[](#使用)

第一种情况：只发消息

```
use SendMessage\DingDing;

$dingding = new DingDing\DingDing();
$dingding->pushText('this is test！');
```

第二种情况：发消息并且指定群组中某个人(@某个人时候必须是@人的手机号)

```
use SendMessage\DingDing;

$dingding = new DingDing\DingDing();
$dingding->pushText('this is test！','130********');
```

第三种情况：@所有人 调用方法

```
use SendMessage\DingDing;

$dingding = new DingDing\DingDing();
$dingding->pushText('this is test！','',true);
```

License
-------

[](#license)

MIT

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6409546?v=4)[volicano](/maintainers/volicano)[@volicano](https://github.com/volicano)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/volicano-dingding-push/health.svg)

```
[![Health](https://phpackages.com/badges/volicano-dingding-push/health.svg)](https://phpackages.com/packages/volicano-dingding-push)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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