blink/sentry

Sentry integration for Blink Framework

Maintainers

Package info

github.com/bixuehujin/blink-sentry

pkg:composer/blink/sentry

Statistics

Installs: 25 831

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

v0.2.0 2015-12-30 06:39 UTC

This package is auto-updated.

Last update: 2026-03-01 00:21:33 UTC


README

Installation

You can install the latest version of blink-sentry by using Composer:

composer require blink/sentry

Configuration

You can easily setup Sentry in your Blink application with the following two steps:

1. Add a new service named sentry in the services definition file:

'sentry' => [
    'class' => \blink\sentry\Sentry::class,
    'dsn' => 'The dsn',
    'environments' => ['prod'], // The environments that should report errors to Sentry
],

2. Override the default ErrorHandler:

'errorHandler' => [
    'class' => blink\sentry\ErrorHandler::class
],