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

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

urmaul/yii-slack-log
====================

Yii log route that pushes logs to Slack channel.

1.1.2(9y ago)272.4k↓39.1%MITPHP

Since Dec 8Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (5)Used By (0)

yii-slack-log
=============

[](#yii-slack-log)

Yii log route that pushes logs to Slack channel. This is a fork of [yii2-slack-log](https://github.com/urmaul/yii2-slack-log) modified to work in Yii 1.1.

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

[](#how-to-install)

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

    ```
    composer require urmaul/yii-slack-log '~1.0'

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

    ```
    'log' => [
        'class'=>'CLogRouter',
        'routes' => [
            [
                'class' => 'urmaul\yii\log\slack\Target',
                'levels' => 'error', // Send message on errors
                'except' => 'exception.CHttpException.404', // ...except 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
                //'prefix' => '', // Any text prefix. As a sample, you can mention @yourself.
            ],
        ],
    ],

    ```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

4

Last Release

3357d ago

### Community

Maintainers

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

---

Top Contributors

[![urmaul](https://avatars.githubusercontent.com/u/1838544?v=4)](https://github.com/urmaul "urmaul (1 commits)")

---

Tags

logslackyiiroutetarget

### Embed Badge

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

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

###  Alternatives

[samdark/yii2-psr-log-target

Yii 2 log target which uses PSR-3 compatible logger

841.8M10](/packages/samdark-yii2-psr-log-target)[saasscaleup/laravel-log-alarm

Laravel log Alarm help you to set up alarm when errors occur in your system and send you a notification via Slack and email

27025.0k](/packages/saasscaleup-laravel-log-alarm)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[baibaratsky/yii2-rollbar

Rollbar for Yii2

35130.5k](/packages/baibaratsky-yii2-rollbar)

PHPackages © 2026

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