Download the PHP package vinstone/dingtalk-notice without Composer
On this page you can find all versions of the php package vinstone/dingtalk-notice. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vinstone/dingtalk-notice
More information about vinstone/dingtalk-notice
Files in vinstone/dingtalk-notice
Download vinstone/dingtalk-notice
More information about vinstone/dingtalk-notice
Files in vinstone/dingtalk-notice
Vendor vinstone
Package dingtalk-notice
Short Description DingTalk Robot Message Notification
License MIT
Package dingtalk-notice
Short Description DingTalk Robot Message Notification
License MIT
Please rate this library. Is it a good library?
Informations about the package dingtalk-notice
钉钉群自定义机器人消息通知laravel扩展包
机器人接入方式请先阅读 钉钉官方文档
介绍
dingtalk-notie 是钉钉群自定义机器人消息通知的Laravel扩展包,您可以通过集成此扩展包到项目里实现快捷的消息通知
要求
- php版本:>=7.0
- laravel版本: Laravel5.5+
安装
推荐使用 composer 进行安装:
Laravel
Laravel 5.5+ 已经实现了扩展包发现机制,您不需要进行额外的加载操作,执行以下命令会自动发布配置文件dingtalk.php
到您项目的配置文件当中
Lumen
Lumen 并未移植扩展包自动发现机制,所以需要手动加载扩展包并复制配置文件。
打开配置文件 bootstrap/app.php 并在大约 81 行左右添加如下内容:
将 vendor/vinstone/dingtalk-notice/config/dingtalk.php 复制到您项目配置文件目录config下
非 Laravel/Lumen 框架
无需考虑加载问题,请使用全局函数 \dingtalk() 或直接创建 \DingTalkNotice\Dingtalk 实例来发送消息
配置
打开配置文件 config/dingtalk.php,按如下格式进行配置
使用方法
文本类型消息
Link类型消息
Markdown类型消息
ActionCard类型消息
整体跳转类型
独立跳转类型
FeedCard类型消息
消息接收人
@其他人
or
or
@所有人
消息发送
容器解析
辅助函数 dingtalk
多机器人消息发送
容器解析
辅助函数 dingtalk
All versions of dingtalk-notice with dependencies
PHP Build Version
Package Version
The package vinstone/dingtalk-notice contains the following files
Loading the files please wait ....