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 153
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 9
Type:symfony-bundle
Requires
- php: >=5.3.2
- raven/raven: dev-master
- symfony/framework-bundle: 2.1.*
This package is not auto-updated.
Last update: 2025-04-26 17:23:54 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']