PHPackages                             nowo-tech/sentry-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. nowo-tech/sentry-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

nowo-tech/sentry-bundle
=======================

Symfony bundle extending Sentry integration with enhanced event listeners and configuration

v1.9.3(2w ago)01.9k↓40.5%MITPHPPHP &gt;=8.2 &lt;8.6CI passing

Since Dec 17Pushed 3w agoCompare

[ Source](https://github.com/nowo-tech/SentryBundle)[ Packagist](https://packagist.org/packages/nowo-tech/sentry-bundle)[ Docs](https://github.com/nowo-tech/SentryBundle)[ GitHub Sponsors](https://github.com/HecFranco)[ RSS](/packages/nowo-tech-sentry-bundle/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (82)Versions (26)Used By (0)

Sentry Bundle
=============

[](#sentry-bundle)

[![CI](https://github.com/nowo-tech/SentryBundle/actions/workflows/ci.yml/badge.svg)](https://github.com/nowo-tech/SentryBundle/actions/workflows/ci.yml) [![Packagist Version](https://camo.githubusercontent.com/1e67a2a8dadd08d84280037fd938cd5bbd621317936783b271d3a8854039ed8e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f776f2d746563682f73656e7472792d62756e646c652e7376673f7374796c653d666c6174)](https://packagist.org/packages/nowo-tech/sentry-bundle) [![Packagist Downloads](https://camo.githubusercontent.com/0429ea0885f89e5fe13dc161da27c281c71837c9ebd34b1689f5ca9b9dc934df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f776f2d746563682f73656e7472792d62756e646c652e737667)](https://packagist.org/packages/nowo-tech/sentry-bundle) [![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE) [![PHP](https://camo.githubusercontent.com/3f99b197569aa2dcfbefff17ecc68d74098e7f929d8b52dc40f3a898f740eae1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d3737374242343f6c6f676f3d706870)](https://php.net) [![Symfony](https://camo.githubusercontent.com/1c8d9cc0213fd311e1cbf64a276402a99bb96c6d197f4e8ed0a038dd7e19bd9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d372e30253242253230253743253230382e30253230253743253230382e312532422d3030303030303f6c6f676f3d73796d666f6e79)](https://symfony.com)

> ⭐ **Found this useful?** Give it a star on GitHub! It helps us maintain and improve the project.

Symfony bundle extending Sentry integration with enhanced event listeners and configuration options.

Features
--------

[](#features)

- ✅ Enhanced request context with user and session information
- ✅ Pure access denied filtered via `before_send`; parent-page failures from sub-request 403 reported with context
- ✅ Oversized performance transactions trimmed via `before_send_transaction` (avoids Relay envelope size drops)
- ✅ Doctrine DBAL SQL exception reporting (`dbal_exception_reporter`) — captures schema/query errors even in `catch` blocks
- ✅ Uptime bot detection and handling
- ✅ Compatible with existing Sentry configuration
- ✅ Full integration with Sentry Symfony bundle (complements SentryBundle)
- ✅ Fully configurable event listeners (enable/disable per listener)
- ✅ Type-safe error handling
- ✅ 100% code coverage with comprehensive tests
- ✅ Demo project for Symfony 8.1

Installation
------------

[](#installation)

```
composer require nowo-tech/sentry-bundle
```

**Symfony Flex Recipe**: If you're installing from Packagist, the Symfony Flex recipe will automatically:

- Register `SentryBundle` and `NowoSentryBundle` in `config/bundles.php`
- Create the default configuration file at `config/packages/nowo_sentry.yaml`

**Manual Installation** (for private bundles or Git installations): If the Flex recipe doesn't work, manually register **both** bundles in your `config/bundles.php`:

```
