Download the PHP package arueckauer/mezzio-sentry-delegator without Composer
On this page you can find all versions of the php package arueckauer/mezzio-sentry-delegator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arueckauer/mezzio-sentry-delegator
More information about arueckauer/mezzio-sentry-delegator
Files in arueckauer/mezzio-sentry-delegator
Package mezzio-sentry-delegator
Short Description Mezzio Delegator and ErrorListener for Sentry
License BSD-3-Clause
Homepage https://github.com/arueckauer/mezzio-sentry-delegator
Informations about the package 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.
Installation
Via Composer
Configuration
Provide a dsn for Sentry and possible other configuration options in the project's configuration, e.g. config/autoload/services.local.php
. Go to the PHP configure documentation to select the dsn for a project.
Initialize Sentry
To initialize Sentry, add the following line to the anonymous function in public/index.php
.
Attach Listener by wiring delegator
Declare the delegator dependency in the project's configuration, e.g. config/autoload/dependencies.global.php
.
All versions of mezzio-sentry-delegator with dependencies
ext-curl Version *
laminas/laminas-servicemanager Version ^3.22 || ^4.2
laminas/laminas-stratigility Version ^3.12 || ^4.0
sentry/sentry Version ^4.0