2017 © Pedro PelĆ”ez
 

symfony-bundle slack-exception-bundle

Push all exceptions to specified Slack channels automatically.

image

atolye15/slack-exception-bundle

Push all exceptions to specified Slack channels automatically.

  • Thursday, March 10, 2016
  • by atolye15
  • Repository
  • 6 Watchers
  • 17 Stars
  • 140 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Atolye15 SlackExceptionBundle

This bundle lets you push all exceptions to any Slack channel automatically in your application., (*1)

Installation

First add the dependency to your composer.json file:, (*2)

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

Then run composer update command., (*3)

php composer.phar update

Finally enable bundle in your kernel., (*4)

<?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, (*5)

Full config for SlackExceptionBundle is below:, (*6)

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

The Versions

10/03 2016

dev-master

9999999-dev http://atolye15.com

Push all exceptions to specified Slack channels automatically.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

exception slack

10/03 2016

1.0.1

1.0.1.0 http://atolye15.com

Push all exceptions to specified Slack channels automatically.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

exception slack

29/10 2015

1.0.0

1.0.0.0 http://atolye15.com

Push all exceptions to specified Slack channels automatically.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

exception slack