practo/sentry-bundle

A fork for Kunstmaan sentry bundle. Minor modification and improvements. The SentryBundle for Symfony2 helps binds the raven-php module into a Symfony2 bundle for easy use with the framework. It will autoload an exception handler into the framework, so that all uncaught errors are sent to a Sentry s

Installs: 13 107

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 5

Forks: 10

Type:symfony-bundle

v2.2 2013-01-24 09:22 UTC

This package is not auto-updated.

Last update: 2024-04-13 12:12:01 UTC


README

This helps binds the raven-php module into a Symfony2 bundle for easy use with the framework. It will autoload an exception handler into the framework, so that all uncaught errors are sent to a Sentry server.

Important: This bundle is heavily inspired by Drew Butler's Airbrake bundle.

Installation requirements

You should be able to get Symfony 2.1 up and running before you can install the KunstmaanAdminBundle.

Installation instructions

Assuming you have installed composer.phar or composer binary:

$ composer require kunstmaan/sentry-bundle

Add the KunstmaanSentryBundle to your AppKernel.php file:

new Kunstmaan\SentryBundle\KunstmaanSentryBundle(),

Multiple environments support (Optional)

Add these lines into 'config.yml'

kunstmaan_sentry:
    environments: ['prod', 'stage', 'my_optional_env']