branchzero / dingtalk
this is update mingyoung/dingtalk, EasyDingTalk, Alibaba Dingtalk SDK for PHP
v1.0.8
2023-10-19 02:50 UTC
Requires
- php: >=7.0 || ^8.0
- monolog/monolog: ^1.23 || ^2.0
- overtrue/http: 1.2.0
- pimple/pimple: ^3.0
- psr/simple-cache: ^1.0
- symfony/cache: ^3.3 || ^4.0 || ^5.0
- symfony/http-foundation: ^3.2 || ^4.0 || ^5.0
Requires (Dev)
- mockery/mockery: ^1.0
- phpunit/phpunit: ^6.5 || ^7.0
README
EasyDingTalk
介绍
EasyDingTalk 封装了钉钉身份验证、通讯录管理、消息通知、审批、群机器人、业务事件回调管理等服务端接口,让开发者可以使用简单的配置,提供简洁的 API 以供方便快速地调用钉钉接口。(本项目是基于mingyoung/dingtalk,只对获取用户和部门等接口做了升级,添加。ps:所添加接口不全,有需要可自己添加)
环境要求
- PHP 7.0+
- Composer
安装
composer require talyang/dingtalk
使用
use EasyDingTalk\Application; $config = [ 'corp_id' => 'dingd3ir8195906jfo93', 'app_key' => 'dingwu33fo1fjc0fszad', 'app_secret' => 'RsuMFgEIY3jg5UMidkvwpzEobWjf9Fcu3oLqLyCUIgzULm54WcV7j9fi3fJlUshk', ]; $app = new Application($config);
文档
License
MIT