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

ActiveLibrary[API Development](/categories/api)

shenzhou/dingtalk
=================

v2.1.6(2y ago)360Apache-2.0PHPPHP &gt;=7.0

Since Aug 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ninestep/dingtalk)[ Packagist](https://packagist.org/packages/shenzhou/dingtalk)[ RSS](/packages/shenzhou-dingtalk/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (10)Dependencies (3)Versions (42)Used By (0)

\#dingtalk

本仓库为神州中联信息技术有限公司针对钉钉接口开发的对接包。

1. 使用方法
-------

[](#1-使用方法)

1. 使用命令行`composer require shenzhou/dingtalk`安装。
2. 实例化

```
$config = [
    //自定义固定字符串。
    'nonceStr' => 'qwe123',
    //应用的标识
    'agentId' => '1273361157',
    //应用的标识
    'AppKey' => '',
    //如果是定制应用，输入定制应用的CustomKey
    'CustomKey' => '11111',
    //如果是定制应用，输入定制应用的CustomSecret，
    'AppSecret' => '',
    'CustomSecret' => '-6E-111111-78ThLTA7LX8uKtbKxqqD2E6hB0xzIwrI3qQLIs5c_uDT4HN',
    //钉钉推送的suiteTicket。
    'suiteTicket' => 'sadasdasd111asdasda',
    //时间戳
    'timeStamp' => time(),
    //企业id
    'corpId' => 'ding01111159b08b496f51f9235c2f4657eb6378f'
]
$this->dingtalk = new DingTalk($config);
```

3. 使用各模块 `$attendance = $this->dingtalk->attendance();`

> 模块寻找方式 例如考勤获取接口为`https://oapi.dingtalk.com/attendance/list`则模块名为`attendance`,函数名为`list`

2. 已实现模块
--------

[](#2-已实现模块)

所属模块功能备注智能工作流获取审批实例ID列表智能工作流获取审批实例详情智能工作流获取审批附件考勤注册回调事件考勤获取打卡结果考勤批量获取考勤组详情考勤groupId转换为groupKey考勤groupKey转换为groupId考勤批量新增地点回调加密回调信息回调解密回调信息通讯录-员工用免登code换取用户信息通讯录-员工根据userid获取用户详情通讯录-员工员工增加通讯录-员工员工更新通讯录-员工根据手机号获取userid通讯录-部门获取部门列表通讯录-部门获取部门用户详情通讯录-部门获取部门用户userid列表通讯录-部门部门增加通讯录-部门获取部门详情消息发送工作通知消息新建待办消息更新待办角色获取指定角色的员工列表角色获取角色列表js-api计算dd.config的签名参数免登获取微应用后台免登的access\_token免登获取应用管理员的身份信息

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

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 ~18 days

Recently: every ~101 days

Total

41

Last Release

1030d ago

Major Versions

v1.1.18 → v2.0.12021-09-06

v1.1.22 → v2.0.22021-09-11

### Community

Maintainers

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

---

Top Contributors

[![ninestep](https://avatars.githubusercontent.com/u/13329058?v=4)](https://github.com/ninestep "ninestep (50 commits)")

### Embed Badge

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

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

232.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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