定制 atolye15/slack-exception-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

atolye15/slack-exception-bundle

最新稳定版本:1.0.1

Composer 安装命令:

composer require atolye15/slack-exception-bundle

包简介

Push all exceptions to specified Slack channels automatically.

README 文档

README

This bundle lets you push all exceptions to any Slack channel automatically in your application.

Installation

First add the dependency to your composer.json file:

"require": {
    ...
    "atolye15/slack-exception-bundle": "dev-master"
},

Then run composer update command.

php composer.phar update

Finally enable bundle in your kernel.

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Atolye15\SlackExceptionBundle\Atolye15SlackExceptionBundle(),
    );
}

Configuration

Before you start configuration, you must create a new web api token in your Slack dashboard. You can create token from https://api.slack.com/web

Full config for SlackExceptionBundle is below:

atolye15_slack_exception:
    environment: prod # all or prod, default prod
    token: TOKEN # Your Slack token
    channel: general # Channel to publish
    username: APPException # Owner of message
    project: MyAwesomeProject # Identifier for your project
    throw_exception: false # Throw an error if Slack request fails. Default false
    request_timeout: 3000 # Timeout for Slack request. Set 0 for disable timeout. Default 3000

统计信息

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

GitHub 信息

  • Stars: 19
  • Watchers: 6
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固