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.7k↓91.7%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 3d 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

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

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

3712d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10796671?v=4)[Ihor Chornyi](/maintainers/chornij)[@chornij](https://github.com/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

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[nterms/yii2-mailqueue

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

84135.6k2](/packages/nterms-yii2-mailqueue)[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

28168.1k](/packages/boundstate-yii2-mailgun)[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.

1689.5k](/packages/odaialali-yii2-toastr)[djagya/yii2-sparkpost

A library provides Yii2 integration with SparkPost mail service

1916.4k](/packages/djagya-yii2-sparkpost)[tigrov/yii2-mailqueue

Yii2 mail queue component for yii2-swiftmailer.

196.6k](/packages/tigrov-yii2-mailqueue)

PHPackages © 2026

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