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

ActiveYii2-extension[Logging &amp; Monitoring](/categories/logging)

intersvyaz/yii2-sentry-log
==========================

Simple Yii2 Sentry target for logging (http://getsentry.com)

1.0.6(8y ago)39.0k3BSDPHPPHP &gt;=5.4.0

Since Nov 18Pushed 8y ago6 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (8)Used By (0)

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

[](#yii2-sentry-log)

Yii2 Sentry target for logging based on Raven client.

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

[](#installation)

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

Either run

```
$ php composer.phar require intersvyaz/yii2-sentry-log "~1.0.0"

```

or add

```
"intersvyaz/yii2-sentry-log": "~1.0.0"

```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

Add target class in your project config:

```
'components' => [
    'log' => [
        'targets' => [
            [
                'class' => 'sentry\SentryTarget',
                'levels' => ['error', 'warning'],   // or smth else
                'dsn' => '',                        // sentry access string
            ],
        ],
    ],

```

Then use like ordinary log:

```
Yii::error('some string');

```

or

```
Yii::error([
    'msg' => 'some message',
    'data' => [...],                // Any pair key=>value for adding to the sentry message
]);

```

Note
----

[](#note)

Because the mechanism of logging is asyncronical, standard sentry stacktrace is unavailable. But this extension sends logger stacktrace in extra parameters of message.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~125 days

Recently: every ~168 days

Total

7

Last Release

3079d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/03f36c54791162f622dde8344f3008eeb39d52d2eca72f2a4af5516da92579a3?d=identicon)[intersvyaz-it](/maintainers/intersvyaz-it)

---

Top Contributors

[![DarkAiR](https://avatars.githubusercontent.com/u/1285623?v=4)](https://github.com/DarkAiR "DarkAiR (10 commits)")[![1allen](https://avatars.githubusercontent.com/u/597599?v=4)](https://github.com/1allen "1allen (7 commits)")[![miramir](https://avatars.githubusercontent.com/u/686364?v=4)](https://github.com/miramir "miramir (2 commits)")[![kikimor](https://avatars.githubusercontent.com/u/5276246?v=4)](https://github.com/kikimor "kikimor (1 commits)")[![sergeytsivin](https://avatars.githubusercontent.com/u/924998?v=4)](https://github.com/sergeytsivin "sergeytsivin (1 commits)")

---

Tags

logloggingsentryloggeryii2target

### Embed Badge

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

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

###  Alternatives

[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)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[e96/yii2-sentry

A Yii2 client for Sentry (http://getsentry.com)

2960.4k](/packages/e96-yii2-sentry)

PHPackages © 2026

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