blink / sentry
Sentry integration for Blink Framework
Installs: 21 303
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.5.0
- blink/blink: *
- raven/raven: 0.13.*
This package is auto-updated.
Last update: 2024-10-31 00:26:39 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 ],