PHPackages                             dtyq/easy-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dtyq/easy-dingtalk

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

dtyq/easy-dingtalk
==================

Package description here.

v0.1.1(1y ago)17.7k↓31.4%MITPHPPHP &gt;=8.1

Since Apr 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dtyq/easy-dingtalk)[ Packagist](https://packagist.org/packages/dtyq/easy-dingtalk)[ RSS](/packages/dtyq-easy-dingtalk/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

Easy DingTalk
=============

[](#easy-dingtalk)

 [![Latest Stable Version](https://camo.githubusercontent.com/fa7f15e7704beffcdd90f1ae7d2a618f1bb1edce33b246032a531e74ea5759a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f647479712f656173792d64696e6774616c6b2e737667)](https://packagist.org/packages/dtyq/easy-dingtalk) [![Total Downloads](https://camo.githubusercontent.com/192b00b7d0b41b8fcfc81a5fe16d89dedff7112f52b06ab21e5e2680c8856161/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f647479712f656173792d64696e6774616c6b2e737667)](https://packagist.org/packages/dtyq/easy-dingtalk) [![Build Status](https://github.com/lihq1403/easy-dingtalk/workflows/CI/badge.svg)](https://github.com/lihq1403/easy-dingtalk/actions)

Easy DingTalk 是一个简单易用的钉钉开放平台 SDK，支持 PHP 8.1+。它提供了灵活的接口来与钉钉开放平台进行交互，让开发者能够轻松地构建钉钉应用。

特性
--

[](#特性)

- 支持 PHP 8.1+
- 基于 PSR 标准开发
- 支持 Hyperf 框架集成
- 灵活的请求组装机制
- 完善的单元测试
- 支持钉钉开放平台主要接口

安装
--

[](#安装)

```
composer require dtyq/easy-dingtalk -vvv
```

快速开始
----

[](#快速开始)

### 基础使用

[](#基础使用)

```
use Dtyq\EasyDingTalk\OpenDevFactory;

$factory = new OpenDevFactory([
    'app_key' => 'your_app_key',
    'app_secret' => 'your_app_secret',
]);

// 获取访问令牌
$accessToken = $factory->getAccessToken();

// 使用其他接口...
```

### Hyperf 集成

[](#hyperf-集成)

在 `config/autoload/dependencies.php` 中添加：

```
return [
    Dtyq\EasyDingTalk\OpenDevFactory::class => function (ContainerInterface $container) {
        return new Dtyq\EasyDingTalk\OpenDevFactory([
            'app_key' => config('dingtalk.app_key'),
            'app_secret' => config('dingtalk.app_secret'),
        ]);
    },
];
```

开发
--

[](#开发)

### 运行测试

[](#运行测试)

```
composer test
```

### 代码风格检查

[](#代码风格检查)

```
composer cs-fix
```

### 静态分析

[](#静态分析)

```
composer analyse
```

贡献
--

[](#贡献)

欢迎提交 Pull Request 或创建 Issue。

许可证
---

[](#许可证)

MIT

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance47

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

444d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1bdf9390d85a45dad64fe58584f55824c12a134a04e338d6259845683d9db137?d=identicon)[twosee](/maintainers/twosee)

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

749284.3k35](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1523.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

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