ChenDingtalk
封装了钉钉身份验证、通讯录管理、消息通知、审批、业务事件回调管理等服务端接口,让开发者可以使用简单的配置,提供简洁的 API 以供方便快速地调用钉钉接口。
- PHP 5.4+
- Composer
composer require chen/dingtalk
<?php
require __DIR__ . '/vendor/autoload.php';
use ChenDingtalk\DingtalkManager;
$config = [
'app_key' => 'xxx',
'app_secret' => 'xxx',
'aes_key' => '4g5j64qlyl3zvetqxz5jiocdr586fn2zvjpa8zls3ij',
'token' => '123465',
'key' => 'suite4xxxxxxxxxxxxxxx',
];
$ding = new DingtalkManager($config);
- 钉钉机器人