Download the PHP package atolye15/slack-exception-bundle without Composer
On this page you can find all versions of the php package atolye15/slack-exception-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download atolye15/slack-exception-bundle
More information about atolye15/slack-exception-bundle
Files in atolye15/slack-exception-bundle
Download atolye15/slack-exception-bundle
More information about atolye15/slack-exception-bundle
Files in atolye15/slack-exception-bundle
Vendor atolye15
Package slack-exception-bundle
Short Description Push all exceptions to specified Slack channels automatically.
License MIT
Homepage http://atolye15.com
Package slack-exception-bundle
Short Description Push all exceptions to specified Slack channels automatically.
License MIT
Homepage http://atolye15.com
Please rate this library. Is it a good library?
Informations about the package slack-exception-bundle
Atolye15 SlackExceptionBundle
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
All versions of slack-exception-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.2
The package atolye15/slack-exception-bundle contains the following files
Loading the files please wait ....