PHPackages                             devnullius/yii2-sentry - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. devnullius/yii2-sentry

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

devnullius/yii2-sentry
======================

Yii2 integration for Sentry

4.0.1(11mo ago)220.0k↓36.2%2[1 issues](https://github.com/devnullius/yii2-sentry/issues)BSD-3-ClausePHPPHP &gt;=7.1 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5

Since Aug 20Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/devnullius/yii2-sentry)[ Packagist](https://packagist.org/packages/devnullius/yii2-sentry)[ RSS](/packages/devnullius-yii2-sentry/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (6)Versions (12)Used By (0)

yii2-sentry
===========

[](#yii2-sentry)

Yii2 integration for [Sentry](https://getsentry.com/) using Sentry PHP SDK v3(.3.7).

Inspired by official [sentry/sentry-simfony](https://github.com/getsentry/sentry-symfony) and [sentry/sentry-laravel](https://github.com/getsentry/sentry-laravel) packages.

Installation
------------

[](#installation)

The preferred way to install this package is through [composer](http://getcomposer.org/download/):

```
composer require php-http/curl-client:^2.1
composer require http-interop/http-factory-guzzle:^1.0
composer require devnullius/yii2-sentry:^1.0
```

Basic Usage
-----------

[](#basic-usage)

Add "sentry" component to application's config and to bootstrapping, then configure log target as follows:

```
