somhys/dingtalk

EasyDingTalk, Alibaba Dingtalk SDK for PHP

2.4.5 2021-11-26 01:35 UTC

README

EasyDingTalk

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads License

介绍

EasyDingTalk 封装了钉钉身份验证、通讯录管理、消息通知、审批、群机器人、业务事件回调管理等服务端接口,让开发者可以使用简单的配置,提供简洁的 API 以供方便快速地调用钉钉接口。

环境要求

安装

composer require somhys/dingtalk:^2.0

使用

use EasyDingTalk\Application;

$config = [
    'corp_id' => 'dingd3ir8195906jfo93',

    'app_key' => 'dingwu33fo1fjc0fszad',
    'app_secret' => 'RsuMFgEIY3jg5UMidkvwpzEobWjf9Fcu3oLqLyCUIgzULm54WcV7j9fi3fJlUshk',
];

$app = new Application($config);

文档

https://docs.easydingtalk.org

License

MIT