tatarko / yii-sentry
Layer for Yii framework for communication with Sentry logging API
v1.0.1
2015-11-11 08:18 UTC
Requires
- raven/raven: 0.11
- yiisoft/yii: ~1.1
This package is not auto-updated.
Last update: 2026-03-15 01:11:44 UTC
README
Layer for Yii framework for communication with Sentry logging API
Installation
Yii Sentry is composer library so you can install the latest version with:
php composer.phar require tatarko/yii-sentry
Configuration
To your application's config add following:
'components' => array( 'log' => array( 'class' => 'CLogRouter', 'routes' => array( // your other log routers array( 'class' => 'Tatarko\\YiiSentry\\LogRoute', 'levels' => 'error,warning', // 'enabled' => !YII_DEBUG, ), ), ), 'sentry' => array( 'class' => 'Tatarko\\YiiSentry\\Client', 'dsn' => '', // Your's DSN from Sentry ), )