PHPackages                             chornij/yii2-slack - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. chornij/yii2-slack

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

chornij/yii2-slack
==================

Simple Slack notifier

1.0.1(10y ago)18.5k↓50%MITPHP

Since Apr 20Pushed 10y ago1 watchersCompare

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

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

Yii2 Slack component
====================

[](#yii2-slack-component)

Simple Slack notifier

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist chornij/yii2-slack "~1.0"

```

or add

```
"chornij/yii2-slack": "~1.0"

```

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

Usage
-----

[](#usage)

To use Slack you need to set up Slack component:

```
'components' => [
    'slack' => [
        'class' => 'chornij\slack\Client',
        'url' => 'https://hooks.slack.com/services/T00000000/B00000000/PS0000000000000000000000',
        'username' => 'My app backend',
    ],
],
```

You can also use it for logging:

```
'components' => [
    'log' => [
        'targets' => [
            'slack-errors' => [
                'class' => 'chornij\slack\log\SlackTarget',
                'levels' => ['error'],
                'emoji' => ':monkey_face:',
                'exportInterval' => 1,
                'logVars' => [],
            ],
        ],
    ],
],
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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

Total

2

Last Release

3665d ago

### Community

Maintainers

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

---

Top Contributors

[![igor-chornij](https://avatars.githubusercontent.com/u/19927287?v=4)](https://github.com/igor-chornij "igor-chornij (2 commits)")

---

Tags

slackyii2extension

### Embed Badge

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

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

###  Alternatives

[nterms/yii2-mailqueue

Email queue component for yii2 that works with yii2-swiftmailer.

87129.2k2](/packages/nterms-yii2-mailqueue)[nickcv/yii2-mandrill

Mandrill Api Integration for Yii2

29554.2k2](/packages/nickcv-yii2-mandrill)[tuyakhov/yii2-notifications

The extension provides support for sending notifications across a variety of delivery channels, including mail, SMS, Slack etc. Notifications may also be stored in a database so they may be displayed in your web interface.

6735.5k2](/packages/tuyakhov-yii2-notifications)[odaialali/yii2-toastr

This is the Toastr extension for Yii 2. It encapsulates Toastr plugin in terms of Yii widgets, and makes ajax notification easy to implement.

1486.3k](/packages/odaialali-yii2-toastr)

PHPackages © 2026

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