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

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

elzix/yii2-sentry
=================

Yii2 integration for Sentry (SDK v3)

v1.0.1(3y ago)029BSD-3-ClausePHPPHP ^8.1

Since May 14Pushed 3y agoCompare

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

READMEChangelogDependencies (3)Versions (3)Used By (0)

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

[](#yii2-sentry)

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

A copy of [Olegtsvetkov's Yii2 Sentry v2](https://github.com/olegtsvetkov/yii2-sentry) package, with minor changes.

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

[](#installation)

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

```
composer require elzix/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 elzix/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:

```
