Download the PHP package baiyutang/dingtalk-chatbot without Composer
On this page you can find all versions of the php package baiyutang/dingtalk-chatbot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download baiyutang/dingtalk-chatbot
More information about baiyutang/dingtalk-chatbot
Files in baiyutang/dingtalk-chatbot
Download baiyutang/dingtalk-chatbot
More information about baiyutang/dingtalk-chatbot
Files in baiyutang/dingtalk-chatbot
Vendor baiyutang
Package dingtalk-chatbot
Short Description The sdk for dingtalk chat robot. developed by object-oriented method. 钉钉群自定义机器人: 采用面向对象的开发方法
License MIT
Homepage https://github.com/baiyutang/dingtalk-robot
Package dingtalk-chatbot
Short Description The sdk for dingtalk chat robot. developed by object-oriented method. 钉钉群自定义机器人: 采用面向对象的开发方法
License MIT
Homepage https://github.com/baiyutang/dingtalk-robot
Please rate this library. Is it a good library?
Informations about the package dingtalk-chatbot
DingtalkChatBot 钉钉群自定义机器人
采用面向对象的开发方法
功能列表
- [x] 实现原始 text / markdown / link / action card 类型消息发送
- [x] 消息设置可支持链式调用
- [x] 单独设置 @ 的数据,亦可链式调用设置多个 @ 的手机号。注意:设置 @ 所有人时,@ 单独手机号会失效
- [x] 发送群可指根据配置随意指定
- [x] 机器人token均可配置
用法
git clone [email protected]:baiyutang/dingtalk-robot.git
或composer require baiyutang/dingtalk-robot
src/config.php
文件中$groups
数组中,修改钉钉群机器人为推送的目标群 token- 参照示例组装代码
配置钉钉群的两种方式
- 修改
Config.php
文件中数组,配置array('group_name'=>'...your token...')
,然后$client = new ChatBot('group_name')
; - 支持直接指定token,当
$client = new ChatBot('param')
,当构造函数接收到的参数不在Config.php
的$groups
数组的键中,会被认定是一个 token
示例
相关
License
MIT license
All versions of dingtalk-chatbot with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package baiyutang/dingtalk-chatbot contains the following files
Loading the files please wait ....