redexperts / errbit-bundle
Symfony Errbit Integration Bundle
Installs: 3 087
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 7
Forks: 3
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- emgiezet/errbit-php: 1.0.*@dev
- symfony/framework-bundle: ~2.1
Requires (Dev)
- mockery/mockery: dev-master
This package is not auto-updated.
Last update: 2024-12-21 16:41:20 UTC
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