PHPackages                             frosh/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. frosh/sentry-bundle

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

frosh/sentry-bundle
===================

Integrates the Sentry SDK into Shopware

0.3.2(3mo ago)21130.7k↓10.9%11[2 PRs](https://github.com/FriendsOfShopware/shopware-sentry-bundle/pulls)MITPHPCI failing

Since Mar 4Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/FriendsOfShopware/shopware-sentry-bundle)[ Packagist](https://packagist.org/packages/frosh/sentry-bundle)[ Docs](https://friendsofshopware.com)[ RSS](/packages/frosh-sentry-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (14)Used By (0)

Shopware Sentry Bundle
======================

[](#shopware-sentry-bundle)

This plugin integrates the [Sentry](https://sentry.io) error tracking service into Shopware 6.

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

[](#installation)

```
composer require "frosh/sentry-bundle:*" "sentry/sentry-symfony:*"
```

Then, in `config/bundles.php` add

```
Sentry\SentryBundle\SentryBundle::class => ['all' => true],
Frosh\SentryBundle\ShopwareSentryBundle::class => ['all' => true],
```

at the end of the `$bundles` array.

Symfony Flex might have added the SentryBundle as `'dev' => true` already. Adapt this.

Configuration
-------------

[](#configuration)

After installation, create a `config/packages/sentry.yaml` file in your Shopware installation and add the following configuration:

```
parameters:
    env(SENTRY_DSN): ''
    env(SENTRY_RELEASE): ''
    env(SENTRY_ENVIRONMENT): '%kernel.environment%'

# Tells Shopware to forward traces to Sentry
shopware:
    profiler:
        integrations:
            - Sentry

sentry:
    dsn: "%env(SENTRY_DSN)%"
    tracing:
        enabled: true
        dbal:
            enabled: false
        cache:
            enabled: false
        twig:
            enabled: false
        http_client:
            enabled: true
    messenger:
        enabled: true
    options:
        # Do not sent deprecations to sentry
        error_types: E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
        integrations:
          # Use default exception ignore list of Shopware
          - 'Frosh\SentryBundle\Integration\UseShopwareExceptionIgnores'
        environment: '%env(SENTRY_ENVIRONMENT)%'
        release: '%env(SENTRY_RELEASE)%'
        # Trace 10% of requests
        traces_sample_rate: 0.1

frosh_sentry:
    # Optional: Report scheduled tasks status to Sentry. See https://docs.sentry.io/product/crons/ for more information and check pricing before enabling this feature.
    report_scheduled_tasks: false
    storefront:
        # optional: if you want track errors occurs within the browser (javascript/cors/csp)
        enabled: true
        # optional: if you want record the user sessions. Please aware the GDPR.
        replay_recording:
          enabled: true
          sample_rate: 0.1
        # optional: if you want measure the performance within the browser
        tracing:
          enabled: true
          sample_rate: 0.1
        # you should always specify a sdk version. If you do not provide any version, a hard-coded version got used. We try to keep the version up to date with the latest version, but cause the fast release-line of the javascript SDK it is recommend to update the version number regularly.
        javascript_sdk_version: "8.26.0"
```

### Test

[](#test)

The sentry-symfony bundle provides a test command. Execute it!

```
bin/console sentry:test
```

Pictures
--------

[](#pictures)

[![img](https://camo.githubusercontent.com/c124acd89fb91f799000afff62e74ceb7004046076c31026bf3e763f403a79cf/68747470733a2f2f692e696d6775722e636f6d2f4b5577556b78412e706e67)](https://camo.githubusercontent.com/c124acd89fb91f799000afff62e74ceb7004046076c31026bf3e763f403a79cf/68747470733a2f2f692e696d6775722e636f6d2f4b5577556b78412e706e67)

[![img](https://camo.githubusercontent.com/c37e08ddce94d88b6639308f33179cd32767b3b578d67980cf595ae098287810/68747470733a2f2f692e696d6775722e636f6d2f4a6d37746a71422e706e67)](https://camo.githubusercontent.com/c37e08ddce94d88b6639308f33179cd32767b3b578d67980cf595ae098287810/68747470733a2f2f692e696d6775722e636f6d2f4a6d37746a71422e706e67)

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance78

Regular maintenance activity

Popularity45

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 56.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~68 days

Recently: every ~98 days

Total

11

Last Release

116d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c45ef9077b73fce78afbfab2fa27e611a453dd77de003e2785ac84105d02bef?d=identicon)[shyim](/maintainers/shyim)

---

Top Contributors

[![shyim](https://avatars.githubusercontent.com/u/6224096?v=4)](https://github.com/shyim "shyim (22 commits)")[![amenk](https://avatars.githubusercontent.com/u/1087128?v=4)](https://github.com/amenk "amenk (5 commits)")[![stefanpoensgen](https://avatars.githubusercontent.com/u/22468102?v=4)](https://github.com/stefanpoensgen "stefanpoensgen (4 commits)")[![ntzrbtr](https://avatars.githubusercontent.com/u/49314?v=4)](https://github.com/ntzrbtr "ntzrbtr (3 commits)")[![sjerdo](https://avatars.githubusercontent.com/u/5910750?v=4)](https://github.com/sjerdo "sjerdo (1 commits)")[![stephanniewerth](https://avatars.githubusercontent.com/u/12692106?v=4)](https://github.com/stephanniewerth "stephanniewerth (1 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")[![jeboehm](https://avatars.githubusercontent.com/u/3028277?v=4)](https://github.com/jeboehm "jeboehm (1 commits)")[![rommelfreddy](https://avatars.githubusercontent.com/u/15031079?v=4)](https://github.com/rommelfreddy "rommelfreddy (1 commits)")

---

Tags

monitoringerrorshopwaresentry

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/frosh-sentry-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/frosh-sentry-bundle/health.svg)](https://phpackages.com/packages/frosh-sentry-bundle)
```

###  Alternatives

[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.4M7](/packages/rollbar-rollbar-laravel)[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[jenssegers/rollbar

Rollbar error monitoring integration for Laravel projects

3301.1M2](/packages/jenssegers-rollbar)[jenssegers/raven

Sentry (Raven) error monitoring integration for Laravel projects

90197.2k1](/packages/jenssegers-raven)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[saasscaleup/laravel-log-alarm

Laravel log Alarm help you to set up alarm when errors occur in your system and send you a notification via Slack and email

27025.0k](/packages/saasscaleup-laravel-log-alarm)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
