Download the PHP package huo-zi/work-wechat-robot without Composer
On this page you can find all versions of the php package huo-zi/work-wechat-robot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download huo-zi/work-wechat-robot
More information about huo-zi/work-wechat-robot
Files in huo-zi/work-wechat-robot
Download huo-zi/work-wechat-robot
More information about huo-zi/work-wechat-robot
Files in huo-zi/work-wechat-robot
Vendor huo-zi
Package work-wechat-robot
Short Description 企业微信机器人sdk
License MIT
Homepage https://github.com/huozi1024/work-wechat-robot
Package work-wechat-robot
Short Description 企业微信机器人sdk
License MIT
Homepage https://github.com/huozi1024/work-wechat-robot
Please rate this library. Is it a good library?
Informations about the package work-wechat-robot
work-wechat-robot
企业微信机器人sdk
0.安装
php < 8 || laravel < 9
1.使用
1.1 直接使用
1.2 v2.1.0之后支持创建消息对象发送消息:
2.作为Monolog的通道使用
2.1 配置通道
- laravel框架
在配置文件
logging.php
的channels
数组中增加:
然后修改channels
节点stack
,在channels
中增加wxwork_robot
- 其他框架
2.2 日志格式化
提供了TextFormatter
和MarkdownFormatter
格式化原始日志,使日志内容方便阅读
-
laravel框架,修改
logging.php
, 增加formatter
:],
TextFormatter
和MarkdownFormatter
都提供了默认的格式化结构,如果需要自定义可以:
- 其他框架
License
Licensed under The MIT License (MIT).
All versions of work-wechat-robot with dependencies
PHP Build Version
Package Version
The package huo-zi/work-wechat-robot contains the following files
Loading the files please wait ....