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

Abandoned → [andersundsehr/sentry-bridge](/?search=andersundsehr%2Fsentry-bridge)ArchivedTypo3-cms-extension[Logging &amp; Monitoring](/categories/logging)

pluswerk/sentry
===============

+Pluswerk TYPO3 extension: Sentry Client

3.4.0(11mo ago)322.2k↓50%[2 issues](https://github.com/pluswerk/sentry/issues)GPL-2.0-or-laterPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0CI failing

Since Apr 16Pushed 9mo ago2 watchersCompare

[ Source](https://github.com/pluswerk/sentry)[ Packagist](https://packagist.org/packages/pluswerk/sentry)[ Docs](https://www.pluswerk.ag/)[ RSS](/packages/pluswerk-sentry/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (24)Used By (0)

❌❌❌ DEPRECATED ❌❌❌
==================

[](#-deprecated-)

> This extension is deprecated and will not be upgraded to TYPO3 13. ⛔
> It is replaced by [andersundsehr/sentry-bridge 😁](https://github.com/andersundsehr/sentry-bridge/).

- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .

Pluswerk TYPO3 Sentry PHP Client
================================

[](#pluswerk-typo3-sentry-php-client)

Features:
---------

[](#features)

- has LogWriter that enables you to write any log entries into sentry
- Logs all exceptions caught by the TYPO3 error handling.
- Logs all exceptions that are caught by the TYPO3 ProductionExceptionHandler ContentObject.
    - This handles the `Oops, an error occurred! code: 2023080912232477707e9b` errors in your site.
    - It displays the error message as normal + a link with only a after the code. So a normal user will not see the link.
    - The link directly opens the sentry with the correct error.

### Quickstart:

[](#quickstart)

- Add environment variables:
    - `SENTRY_DSN=https://dsn-to-your@sentry.io/instance`
    - `SENTRY_ORGANISATION=sentry` (optional) if the organisation of your sentry is different. is used in eg. the Oops, an error occurred! Code: 2023080912232477707e9b
    - `DISABLE_SENTRY` (optional) Disable Sentry by setting this to 1
    - `SENTRY_QUEUE` (optional) Enable queue system by setting this to 1
    - `SENTRY_ERRORS_TO_REPORT` (optional) The Errors to Report as number, e.g. 4096 for E\_REVOERABLE\_ERROR
- Add the following line to your `AdditionalConfiguration.php`
    - `(new \Pluswerk\Sentry\Bootstrap())->initializeHandler();`
- If you enabled SENTRY\_QUEUE
    - Add `typo3 pluswerk:sentry:flush` to your scheduling service
    - Add environment before the command if you want to report errors while running the command `SENTRY_QUEUE=0 typo3 pluswerk:sentry:flush`

### Settings

[](#settings)

The Extension comes with a couple of settings in the TYPO3-Backend:

- `force_disable_sentry` -&gt; Forcefully override the ENV by disabling Sentry in backend
- `enable_git_hash_releases` (default yes) -&gt; Automatically track releases with the current git hash (only works if git is installed)

#### Configuring the scope

[](#configuring-the-scope)

Sometimes it might be necessary to additionally configure the scope of a sentry event.
For this, the method `\Pluswerk\Sentry\Sentry::withScope($exception, $scopeCallback)` comes in play.
The arguments are similar to `https://docs.sentry.io/platforms/php/enriching-events/scopes/#local-scopes`. The first argument requires the exception to be thrown and the second is a callback, for where you can apply custom settings to the Sentry Scope.
There is no need to additionally write `captureException` within that callback.

Example:

```
Sentry::getInstance()->withScope($exception, fn(Scope $scope) => $scope->setTag('oops_code', $oopsCode));
```

### SentryLogger

[](#sentrylogger)

You can write this in your additional.php if you want all warnings from the TYPO3 log to be logged in Sentry:

```
    $GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'][LogLevel::WARNING] = [
        SyslogWriter::class => [],
        SentryLogger::class => [],
    ];
```

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance41

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 61.2% 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 ~111 days

Recently: every ~146 days

Total

21

Last Release

357d ago

Major Versions

1.0.0 → 2.1.02021-06-24

2.2.6 → 3.0.02023-08-10

PHP version history (6 changes)1.0.0PHP &gt;=7

2.1.0PHP &gt;=7.4

2.2.3PHP ~7.4 || ~8.0 || ~8.1

3.0.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

3.3.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

3.4.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/471387?v=4)[Matthias Vogel](/maintainers/Kanti)[@Kanti](https://github.com/Kanti)

![](https://www.gravatar.com/avatar/ce27306c234536251754f00414959671d4a775e9cf57cce2f5ea1dca158183d6?d=identicon)[andersundsehr](/maintainers/andersundsehr)

---

Top Contributors

[![Kanti](https://avatars.githubusercontent.com/u/471387?v=4)](https://github.com/Kanti "Kanti (41 commits)")[![weakbit](https://avatars.githubusercontent.com/u/12049749?v=4)](https://github.com/weakbit "weakbit (25 commits)")[![ChrisB9](https://avatars.githubusercontent.com/u/7099583?v=4)](https://github.com/ChrisB9 "ChrisB9 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k227.1M273](/packages/sentry-sentry)[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2322.9M248](/packages/open-telemetry-sdk)[networkteam/sentry-client

A Sentry client for TYPO3. It forwards errors and exceptions to Sentry - https://sentry.io/

371.0M4](/packages/networkteam-sentry-client)[eliashaeussler/typo3-warming

Warming - Warms up Frontend caches based on an XML sitemap. Cache warmup can be triggered via TYPO3 backend or using a console command. Supports multiple languages and custom crawler implementations.

20229.9k](/packages/eliashaeussler-typo3-warming)[onedrop/shopware-sentry

Sentry integration for Shopware

2055.8k](/packages/onedrop-shopware-sentry)

PHPackages © 2026

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