PHPackages                             urmaul/yii2-slack-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. urmaul/yii2-slack-log

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

urmaul/yii2-slack-log
=====================

Yii2 log route that pushes logs to Slack channel.

2.0.0(9y ago)437.6k1MITPHP

Since Dec 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/urmaul/yii2-slack-log)[ Packagist](https://packagist.org/packages/urmaul/yii2-slack-log)[ Docs](https://github.com/urmaul/yii2-slack-log)[ RSS](/packages/urmaul-yii2-slack-log/feed)WikiDiscussions master Synced 3w ago

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

yii2-slack-log
==============

[](#yii2-slack-log)

Yii2 log route that pushes logs to Slack channel.

How to install
--------------

[](#how-to-install)

1. Add "Incoming WebHook" to slack.
2. Attach log route.

    ```
    composer require urmaul/yii2-slack-log '~2.0'

    ```
3. Add this route to log targets.

    ```
    'log' => [
        'targets' => [
            [
                'class' => 'urmaul\yii2\log\slack\Target',
                'levels' => ['error'], // Send message on errors
                'except' => ['yii\web\HttpException:403', 'yii\web\HttpException:404'], // ...except 403 and 404
                'enabled' => !YII_DEBUG, // No not send in debug mode
                'webhookUrl' => 'YOUR_WEBHOOK_URL_FROM_SLACK',
                //'username' => 'MYBOT', // Bot username. Defaults to app name
                //'icon_url' => null, // Bot icon URL
                //'icon_emoji' => ':beetle:', // Bot icon emoji
                //'prefixText' => '', // Any text prefix. As a sample, you can mention @yourself.
            ],
        ],
    ],

    ```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~67 days

Total

7

Last Release

3582d ago

Major Versions

1.1.4 → 2.0.02016-09-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/22364b943477de78bf89bb19b5708a93666e38b5f1ad954ded9c656b3c116cb8?d=identicon)[urmaul](/maintainers/urmaul)

---

Tags

logslackyii2routetarget

### Embed Badge

![Health badge](/badges/urmaul-yii2-slack-log/health.svg)

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

PHPackages © 2026

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