crasp / dingtalk
EasyDingTalk, Alibaba Dingtalk SDK for PHP
1.0.0
2023-08-28 05:55 UTC
Requires
- php: >=7.0
- crasp/http: ^1.0
- monolog/monolog: ^1.23 || ^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 以供方便快速地调用钉钉接口。
环境要求
- PHP 7.0+
- Composer
安装
composer require mingyoung/dingtalk:^2.0
使用
use EasyDingTalk\Application; $config = [ 'corp_id' => 'dingd3ir8195906jfo93', 'app_key' => 'dingwu33fo1fjc0fszad', 'app_secret' => 'RsuMFgEIY3jg5UMidkvwpzEobWjf9Fcu3oLqLyCUIgzULm54WcV7j9fi3fJlUshk', ]; $app = new Application($config);
文档
License
MIT