PHPackages                             comsolit/sentry\_client - 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. comsolit/sentry\_client

ArchivedTypo3-cms-extension[Logging &amp; Monitoring](/categories/logging)

comsolit/sentry\_client
=======================

TYPO3 extension for PHP error and exception logging with Sentry, https://sentry.io

8.0.0(7y ago)01.2k2[1 issues](https://github.com/comsolit/sentry_client/issues)GPL-3.0+PHP

Since Aug 31Pushed 7y ago4 watchersCompare

[ Source](https://github.com/comsolit/sentry_client)[ Packagist](https://packagist.org/packages/comsolit/sentry_client)[ RSS](/packages/comsolit-sentry-client/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (1)Used By (0)

Sentry Client for TYPO3
=======================

[](#sentry-client-for-typo3)

A TYPO3 extension for PHP exception logging with Sentry,

Logs frontend PHP errors and exceptions to your Sentry instance. Note that logging backend issues is not yet supported by TYPO3 (it's on the todo list for v9, according to core developer Markus Klein).

Based on the official Sentry PHP client, [`sentry/sentry`](https://packagist.org/packages/sentry/sentry).

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

[](#installation)

1. Add something like this to your project's `composer.json`, and run `composer install`:

```
  "repositories": [
    {
      "type": "composer",
      "url": "https://packagist.org/"
    },
    {
      "url": "https://github.com/comsolit/sentry_client.git",
      "type": "git"
    }
  ],
  "require": {
    "comsolit/sentry_client": "dev-master"
  }
```

2. Make sure your `typo3conf/LocalConfiguration.php` contains something like this in the `SYS` section:

```
    'SYS' => [
        // ...
        'devIPmask' => '',
        'displayErrors' => '0',
        'enable_errorDLOG' => '1',
        'enable_exceptionDLOG' => '1',
        'enableDeprecationLog' => 'devlog',
        'systemLog' => '',
        'systemLogLevel' => '0',
        'syslogErrorReporting' => E_ALL,
        'belogErrorReporting' => E_ALL,
        'exceptionalErrors' => E_RECOVERABLE_ERROR | E_USER_DEPRECATED,
        'errorHandlerErrors' => E_WARNING | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_RECOVERABLE_ERROR | E_DEPRECATED | E_USER_DEPRECATED,
        'errorHandler' => 'SentryClient\\ErrorHandler',
        'debugExceptionHandler' => 'SentryClient\\DebugExceptionHandler',
        'productionExceptionHandler' => 'SentryClient\\ProductionExceptionHandler',
    ]
```

Alternatively, you can [set those values](https://github.com/comsolit/sentry_client/blob/master/ext_localconf.php#L6-L19)via the `Install Tool` or in `typo3conf/AdditionalConfiguration.php`.

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

[](#configuration)

Set the [Sentry DSN](https://docs.sentry.io/quickstart/#about-the-dsn)(e.g. `https://public_key:secret_key@your-sentry-server.com/project-id`) in the `Extension Manager`.

This will be added in your `typo3conf/LocalConfiguration.php` file at:

```
'EXT' => [
    'extConf' => [
        'sentry_client' => ...
```

NOTE: For professional deployments you should consider using something like [phpdotenv](https://packagist.org/packages/vlucas/phpdotenv) to manage your secrets instead of using the Extension Manager, and leave your `LocalConfiguration` under version control.

JavaScript Error Logging
------------------------

[](#javascript-error-logging)

For logging your JavaScript errors to Sentry see the [JavaScript Sentry docs](https://docs.sentry.io/clients/javascript/).

If you include your JavaScript sources via TypoScript it can be handy to avoid hard-coding and define a `SENTRY_DSN_PUBLIC` value in your system environment (e.g. via a `.env` file read by [phpdotenv](https://packagist.org/packages/vlucas/phpdotenv)). You can read the value in TypoScript using the [`getenv` command](https://docs.typo3.org/typo3cms/TyposcriptReference/DataTypes/Gettext/Index.html#getenv)like this:

```
page.headerData {
  999 = COA
  999 {
    10 = TEXT
    10.value =
    20 = TEXT
    20.value = Raven.config('
    30 = TEXT
    30.data = getenv : SENTRY_DSN_PUBLIC
    30.stdWrap.wrap = |
    40 = TEXT
    40.value = ', {release: '
    50 = TEXT
    50.data = getenv : PROJECT_VERSION
    50.stdWrap.wrap = |
    60 = TEXT
    60.value = '}).install();
  }
}

```

Development
-----------

[](#development)

Your contributions are welcome! Please fork the repo, make your changes, and [open a pull request](https://github.com/comsolit/sentry_client/pulls).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

2814d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/330bd5b6615b47b79b7a91898ac6b588b3c055e999c5fa10ee6037a9d801c9c1?d=identicon)[comsolit](/maintainers/comsolit)

---

Top Contributors

[![bittner](https://avatars.githubusercontent.com/u/665072?v=4)](https://github.com/bittner "bittner (7 commits)")[![cundd](https://avatars.githubusercontent.com/u/743122?v=4)](https://github.com/cundd "cundd (7 commits)")[![alexanderschneider](https://avatars.githubusercontent.com/u/38972812?v=4)](https://github.com/alexanderschneider "alexanderschneider (1 commits)")[![christian-comsolit](https://avatars.githubusercontent.com/u/6513131?v=4)](https://github.com/christian-comsolit "christian-comsolit (1 commits)")

---

Tags

exception-reportingextensionloggingsentrysentry-phptypo3

### Embed Badge

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

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

###  Alternatives

[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k114.3M154](/packages/sentry-sentry-laravel)[networkteam/sentry-client

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

371.0M4](/packages/networkteam-sentry-client)[t3monitor/t3monitoring_client

Client extension for the t3monitoring service

31851.3k1](/packages/t3monitor-t3monitoring-client)[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)[lukeyouell/craft-sentry

Error tracking that helps developers monitor and fix crashes in real time. Iterate continuously. Boost efficiency. Improve user experience.

17123.4k1](/packages/lukeyouell-craft-sentry)[itgalaxy/sentry-integration

A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry

105.6k](/packages/itgalaxy-sentry-integration)

PHPackages © 2026

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