承接 haokaiyang/laravel-feishu-logging 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

haokaiyang/laravel-feishu-logging

Composer 安装命令:

composer require haokaiyang/laravel-feishu-logging

包简介

Send logs to Feishu group via Feishu Custom bot

README 文档

README

Send logs to Feishu group via Feishu Custom bot

Install


composer require haokaiyang/laravel-feishu-logging

Document: 机器人 | 如何在群聊中使用机器人?

Define feishu custom bot Token and set as environment parameters. Add to your environment file

token is a part of Feishu Webhook url

if your Webhook is (https://open.feishu.cn/open-apis/bot/hook/xxxxxxxxxxxxxxxxxxxxxxxxxxx)

token is 'xxxxxxxxxxxxxxxxxxxxxxxxxxx'

FEISHU_LOGGER_BOT_TOKEN=token

Add to config/logging.php file new channel: if you want to setting different feishu custom bot,you can define token into channel setting

'feishu' => [
    'driver' => 'custom',
    'via'    => Logger\FeishuLogger::class,
    'level'  => 'debug',
    'token'  => env('FEISHU_LOGGER_BOT_TOKEN', 'YOUR-CUSTOM-BOT-TOKEN'),
]

If your default log channel is a stack, you can add it to the stack channel like this

'stack' => [
    'driver' => 'stack',
    'channels' => ['single', 'feishu'],
]

Or you can simply change the default log channel in the .env

LOG_CHANNEL=feishu

Publish config file

php artisan vendor:publish --provider "Logger\FeishuLoggerServiceProvider"

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固