walczakmac/staffim-rollbar-bundle

Bundle for Symfony2 that reports errors to Rollbar

This package's canonical repository appears to be gone and the package has been frozen as a result.

Installs: 25 636

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 10

Type:bundle

v1.2.2 2015-11-16 12:05 UTC

This package is not auto-updated.

Last update: 2020-03-10 20:53:47 UTC


README

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%