PHPackages                             olegtsvetkov/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. olegtsvetkov/yii2-sentry

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

olegtsvetkov/yii2-sentry
========================

Yii2 integration for Sentry

v1.4(6y ago)872.6k↓46.7%7[1 issues](https://github.com/olegtsvetkov/yii2-sentry/issues)[1 PRs](https://github.com/olegtsvetkov/yii2-sentry/pulls)2BSD-3-ClausePHPPHP ^7.1

Since Jun 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/olegtsvetkov/yii2-sentry)[ Packagist](https://packagist.org/packages/olegtsvetkov/yii2-sentry)[ RSS](/packages/olegtsvetkov-yii2-sentry/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (3)Versions (8)Used By (2)

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

[](#yii2-sentry)

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

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 olegtsvetkov/yii2-sentry:^1.0
```

Package doesn't provide any HTTP transport out of the box. To install package with a recommended HTTP client use special metapackage:

```
composer require olegtsvetkov/yii2-sentry-curl-client:^1.0
```

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

[](#basic-usage)

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

```
