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

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

luckyshopteam/yii2-sentry
=========================

Yii2 sentry

2.0.3(6y ago)21.8kPHP

Since Oct 23Pushed 6y ago3 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

Yii2 Sentry
-----------

[](#yii2-sentry)

Установка
---------

[](#установка)

```
composer require luckyshopteam/yii2-sentry @dev

```

Подключение
-----------

[](#подключение)

Подключите класс SentryComponent в компонентах приложения

```
'components' => [
    'sentry' => [
        'class' => luckyshopteam\sentry\SentryComponent::class,
        'enabled' => true,
        'dsn' => getenv('SENTRY_DSN'),
        'environment' => YII_ENV, // if not set, the default is `production`
    ],
],

```

Добавьте класс SentryTarget в параметр 'targets' для компонента 'log'

```
'components' => [
    'log' => [
        'traceLevel' => YII_DEBUG ? 3 : 0,
        'flushInterval' => 1,
        'targets' => [
            [
                'class' => luckyshopteam\sentry\SentryTarget::class,
                'exportInterval' => 1,
                'levels' => ['error', 'warning'],
                'except' => [
                    'yii\web\HttpException:429', // TooManyRequestsHttpException
                    'yii\web\HttpException:401', // UnauthorizedHttpException
                ],
                'userData' => ['id', 'email', 'role'],
            ],
        ]
    ],
],

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 78.6% 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 ~85 days

Total

5

Last Release

2416d ago

Major Versions

1.0.0 → 2.0.02019-09-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/43806577?v=4)[luckyshopteam](/maintainers/luckyshopteam)[@luckyshopteam](https://github.com/luckyshopteam)

---

Top Contributors

[![evolcon](https://avatars.githubusercontent.com/u/17050686?v=4)](https://github.com/evolcon "evolcon (11 commits)")[![luckyshopteam](https://avatars.githubusercontent.com/u/43806577?v=4)](https://github.com/luckyshopteam "luckyshopteam (3 commits)")

---

Tags

phpsentryyii2luckyshop

### Embed Badge

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

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

###  Alternatives

[notamedia/yii2-sentry

Yii2 logger for Sentry

1272.0M2](/packages/notamedia-yii2-sentry)[mito/yii2-sentry

Yii 2 extension for Sentry

92377.7k](/packages/mito-yii2-sentry)[minbaby/hyperf-sentry

1926.7k](/packages/minbaby-hyperf-sentry)[friendsofhyperf/sentry

The sentry component for Hyperf.

1864.6k](/packages/friendsofhyperf-sentry)

PHPackages © 2026

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