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

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

bossit/yii2-sentry-logger
=========================

Yii2 SDK for Sentry (https://sentry.io)

1.0.2(5y ago)02.8kPHPPHP ^7.1

Since Sep 18Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (4)Used By (0)

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

[](#yii2-sentry-logger)

[![Latest Stable Version](https://camo.githubusercontent.com/8065433a336480094e65dcc0908e04c6f1630f46fd67c2453052a4296d2c2264/68747470733a2f2f706f7365722e707567782e6f72672f626f737369742f796969322d73656e7472792d6c6f676765722f762f737461626c65)](https://packagist.org/packages/bossit/yii2-sentry-logger)[![Build Status](https://camo.githubusercontent.com/adfc126c07893d919f75767498c1a8bebfe4f57a52e31f3036324ce75a177f63/68747470733a2f2f7472617669732d63692e6f72672f626f737369742f796969322d73656e7472792d6c6f676765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/bossit/yii2-sentry-logger)[![Total Downloads](https://camo.githubusercontent.com/0192f6cc055ad3c8c3479a70fa3bb87a2f9360d3b036ae98026799ba09c3ee8a/68747470733a2f2f706f7365722e707567782e6f72672f626f737369742f796969322d73656e7472792d6c6f676765722f646f776e6c6f616473)](https://packagist.org/packages/bossit/yii2-sentry-logger)

Install
-------

[](#install)

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

```
$ composer require bossit/yii2-sentry-logger:^1.0

```

Usage
-----

[](#usage)

The preferred way is to setup the components into our Application's configuration array:

```
'log' => [
    'traceLevel' => YII_DEBUG ? 3 : 0,
    'targets' => [
        [
            'class' => SentryTarget::class,
            'dsn' => '_YOUR_KEY_',
            'levels' => ['error', 'warning'],
            'logVars' => [],
            'except' => [
                'yii\web\HttpException:404',
            ],
        ],
    ],
],
```

That's it, you are ready to use it as Yii2 components.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~183 days

Total

3

Last Release

2062d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b14085b0af8f3fee38870a8f449e037b2b8459975d5982a0c9899ba949e70037?d=identicon)[bossit](/maintainers/bossit)

---

Top Contributors

[![bossit](https://avatars.githubusercontent.com/u/10044296?v=4)](https://github.com/bossit "bossit (6 commits)")

---

Tags

logloggingsentryerror-handlererror-monitoringcrash-reportingcrash-reportsyii2

### Embed Badge

![Health badge](/badges/bossit-yii2-sentry-logger/health.svg)

```
[![Health](https://phpackages.com/badges/bossit-yii2-sentry-logger/health.svg)](https://phpackages.com/packages/bossit-yii2-sentry-logger)
```

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k227.1M273](/packages/sentry-sentry)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k114.3M154](/packages/sentry-sentry-laravel)[sentry/sdk

This is a meta package of sentry/sentry. We recommend using sentry/sentry directly.

327134.8M151](/packages/sentry-sdk)[stayallive/wp-sentry

A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry.

379197.9k](/packages/stayallive-wp-sentry)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
