viniciuswebdev/monolog-mattermost 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

viniciuswebdev/monolog-mattermost

Composer 安装命令:

composer require viniciuswebdev/monolog-mattermost

包简介

Handle logs to Mattermost

README 文档

README

Travis Scrutinizer

This Handler may be useful if you need send log messages to Mattermost channels, it's very easy to setup and integrate in your application if you are using Monolog.

Instalation

composer require "viniciuswebdev/monolog-mattermost:1.0.0"

Code example

use Monolog\Logger;

$logger = new Logger('application');
$logger->pushHandler(new MattermostHandler('https://mattermost.my-company.net.br/hooks/xxx'));

$logger->info('Your message here!');

How to get my Webhook url?

Just follow these few steps:

  • Go to Integrations item on main menu
  • Incoming Webhook
  • Add Incoming Webhook
  • Chose a name, description and the desired channel to publish
  • Get the URL to use in the Handler constructor

License

The MIT License (MIT).

统计信息

  • 总下载量: 83.71k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固