tizipso / dingtalk
2.0.1
2021-08-25 10:19 UTC
Requires
- php: >=7.3
- ext-json: *
- ext-openssl: *
- hyperf/cache: ^2.2
- hyperf/framework: ^2.2
- hyperf/guzzle: ^2.2
- hyperf/http-server: ^2.2
- hyperf/logger: ^2.2
- nesbot/carbon: ^2.49
- pimple/pimple: *
- symfony/http-foundation: ^5.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.14
- mockery/mockery: ^1.0
- phpstan/phpstan: ^0.12
- phpunit/phpunit: >=7.0
- swoole/ide-helper: dev-master
- swow/swow: dev-develop
- symfony/var-dumper: ^5.1
README
介绍
Based on mingyoung/dingtalk developed a DingTalk expansion package adapted to Hyperf. - 基于 mingyoung/dingtalk 开发的适配于 Hyperf 的钉钉扩展包。
封装了钉钉身份验证、通讯录管理、消息通知、审批、群机器人、业务事件回调管理等服务端接口,让开发者可以使用简单的配置,提供简洁的 API 以供方便快速地调用钉钉接口
环境要求
- PHP 7.3+
- Composer
安装
composer require tizipso/dingtalk
使用
use DingTalk\Application; $config = [ 'corp_id' => '', 'agent_id' => '', 'app_key' => 'dingwu33fo1fjc0fszad', 'app_secret' => 'RsuMFgEIY3jg5UMidkvwpzEobWjf9Fcu3oLqLyCUIgzULm54WcV7j9fi3fJlUshk', 'token' => '', 'aes_key' => '', ]; $app = new Application($config);
License
MIT