PHPackages                             lee2son/dingtalk-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. lee2son/dingtalk-robot

ActiveLibrary

lee2son/dingtalk-robot
======================

钉钉发消息机器人

v1.0.0(6y ago)03MITPHPPHP &gt;=5.6.0

Since Jan 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lee2son/dingtalk-robot)[ Packagist](https://packagist.org/packages/lee2son/dingtalk-robot)[ RSS](/packages/lee2son-dingtalk-robot/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

dingtalk-robot
==============

[](#dingtalk-robot)

Laravel 框架的钉钉机器人发消息插件

安装
--

[](#安装)

```
composer require lee2son/dingtalk-robot

```

在普通PHP项目中使用：
------------

[](#在普通php项目中使用)

```
include_once __DIR__ . '/vendor/autoload.php';

\Lee2son\DingTalkRobot\Robot::$apps = [
    'example' => [
        'webhook' => 'https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxx',
        // The "GuzzleHttp" options
        // http://docs.guzzlephp.org/en/stable/request-options.html
        'options' => [
            'verify' => false,
        ],
        'sign_type' => 'sign',
        'secret' => 'xxxxxxxxxxx',
    ]
];

\Lee2son\DingTalkRobot\robot('example')->xxxxxxxxx();

// or
\Lee2son\DingTalkRobot\Robot::$default = 'example';
\Lee2son\DingTalkRobot\robot()->xxxxxxxxx();

// or

$robot = new \Lee2son\DingTalkRobot\Robot([
    'webhook' => 'https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxx',
    // The "GuzzleHttp" options
    // http://docs.guzzlephp.org/en/stable/request-options.html
    'options' => [
        'verify' => false,
    ],
    'sign_type' => 'sign',
    'secret' => 'xxxxxxxxxxx',
]);

$robot->xxxxxxxxx();

```

在 Laravel 中使用
-------------

[](#在-laravel-中使用)

配置：

```
php artisan vendor:publish --tag=dingtalk-robot

```

此时会生成`config/dingtalk_robot.php`，酌情修改。调用方式是一样的

```
app('dingtalk.robot', 'example')->xxxxxxxxx();

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

2292d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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