yunkeweb / thinkphp-feishu-log
基于thinkphp的飞书日志扩展
v1.0.1
2023-11-07 07:41 UTC
Requires
- php: >=7.4.0
- ext-curl: *
- ext-json: *
- topthink/framework: ^6.0|^8.0
README
基于thinkphp的飞书日志扩展.
Installing
$ composer require yunkeweb/thinkphp-feishu-log -vvv
Usage
安装之后,在 config/log.php
文件中的channels
数组中新增以下配置:
'fei_shu' => [ 'type' => \Yunkeweb\ThinkphpFeiShuLog\FeiShu::class, 'title' => '项目报警日志', 'webhook' => '', // 飞书机器人 webhook 地址 'secret_key' => '', // 安全设置签名校验 密钥 ]
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT