Skip to content

Latest commit

 

History

History
executable file
·
43 lines (39 loc) · 1.83 KB

README.md

File metadata and controls

executable file
·
43 lines (39 loc) · 1.83 KB

SymfonyRollbar bundle for Symfony Framework

Latest Stable Version Total Downloads codecov Build Status Software License

Bundle for Symfony Framework (2.8.x, 3.x, 4.x) that integrates Rollbar tracker

Find more documentation here

Install

  1. Add bundle as dependency
    $ composer require oxcom/symfony-rollbar-bundle
  2. Provide configuration for it
    symfony_rollbar:
            enable: true
            exclude:
                - \AppBundle\Exceptions\MyAwesomeException
            rollbar:
                access_token: 'some-secret-token-here'
            rollbar_js:
                access_token: 'some-public-token-here'
  3. Load bundle for 4.x:
    \SymfonyRollbarBundle\SymfonyRollbarBundle::class => ['all' => true]
    or for 2.8.x and 3.x
    $bundles = [
        // ...
        new \SymfonyRollbarBundle\SymfonyRollbarBundle(),
        // ...
    ];

Bugs and Issues

Please, if You found a bug or something, that is not working properly, contact me and tell what's wrong. It's nice to have an example how to reproduce a bug, or any idea how to fix it in Your request. I'll take care about it ASAP.