No description or website provided.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DependencyInjection
EventListener
Resources/config
Tests
Voter
spec/Staffim/RollbarBundle
.gitignore
.travis.yml
README.md
ReportDecisionManager.php
RollbarReporter.php
StaffimRollbarBundle.php
composer.json
phpunit.xml.dist

README.md

RollbarBundle

Build Status SensioLabsInsight

About

Integrates Rollbar with your Symfony2 application.

Installation

Require the staffim/rollbar-bundle package in your composer.json and update your dependencies.

$ composer require staffim/rollbar-bundle:*

Add the StaffimRollbarBundle to your application's kernel:

    public function registerBundles()
    {
        $bundles = array(
            ...
            new Staffim\RollbarBundle\StaffimRollbarBundle(),
            ...
        );
        ...
    }

Configuration

staffim_rollbar:
    # Rollbar access token
    access_token: ###
    # PHP error level (see http://php.net/manual/en/function.error-reporting.php)
    error_level: -1
    # Values from scrub.parameters are replaced by the key for specified exceptions
    scrub:
        exceptions:
            - PDOException
        parameters:
            key: %key%