redexperts/errbit-bundle
Composer 安装命令:
composer require redexperts/errbit-bundle
包简介
Symfony Errbit Integration Bundle
关键字:
README 文档
README
This bundle integrates errbit and [errbitPHP] (https://github.com/emgiezet/errbitPHP) client with Symfony 2 by kernel.exception event listener.
Installation
Add RedexpertsErrbitBundle in your composer.json:
{ "require": { "redexperts/errbit-bundle": "dev-master" } }
Download the bundle by running the command:
$ php composer.phar update redexperts/errbit-bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Redexperts\ErrbitBundle\RedexpertsErrbitBundle(), ); }
Configuration
Configure bundle in your /app/config.yml file:
# /app/config.yml redexperts_errbit: errbit: errbit_enable_log: true #default true - enable or disable errbit loggining api_key: API_KEY #errbit API KEY host: HOST #errbit host port: PORT # default 80 environment_name: ENVIRONMENT_NAME #default local - can be test,prod etc. skipped_exceptions: [] #list of skipped exceptions which you do not need to log by errbit
That's it
统计信息
- 总下载量: 3.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-12-02