PHPackages                             arueckauer/mezzio-sentry-delegator - 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. arueckauer/mezzio-sentry-delegator

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

arueckauer/mezzio-sentry-delegator
==================================

Mezzio Delegator and ErrorListener for Sentry

3.0.0(4mo ago)224.1k↓45.5%[3 PRs](https://github.com/arueckauer/mezzio-sentry-delegator/pulls)BSD-3-ClausePHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Sep 21Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/arueckauer/mezzio-sentry-delegator)[ Packagist](https://packagist.org/packages/arueckauer/mezzio-sentry-delegator)[ Docs](https://github.com/arueckauer/mezzio-sentry-delegator)[ RSS](/packages/arueckauer-mezzio-sentry-delegator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (9)Versions (14)Used By (0)

mezzio-sentry-delegator
=======================

[](#mezzio-sentry-delegator)

Mezzio Delegator and ErrorListener for Sentry

This package provides an initialization wrapper for Sentry and the ability to capture Throwables in Sentry through an `ErrorListener` for the [Stratigility `ErrorHandler` middleware](https://docs.laminas.dev/laminas-stratigility/v3/error-handlers/#handling-php-errors-and-exceptions).

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

[](#installation)

Via Composer

```
composer require arueckauer/mezzio-sentry-delegator
```

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

[](#configuration)

Provide a dsn for Sentry and possible other [configuration options](https://docs.sentry.io/platforms/php/configuration/) in the project's configuration, e.g. `config/autoload/services.local.php`. Go to the [PHP configure documentation](https://docs.sentry.io/platforms/php/#configure) to select the dsn for a project.

```
