Skip to content

bixuehujin/blink-sentry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blink-sentry - Sentry integration for Blink Framework

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
],

About

Sentry integration for Blink Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages