PHPackages                             futuretek/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. [API Development](/categories/api)
4. /
5. futuretek/yii2-slack

ActiveYii2-extension[API Development](/categories/api)

futuretek/yii2-slack
====================

Object oriented Yii2 integration to Slack Incoming WebHooks

1.0.3(7y ago)0247Apache-2.0PHPPHP &gt;=5.6.0

Since Sep 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/futuretek-solutions-ltd/ext-yii2-slack)[ Packagist](https://packagist.org/packages/futuretek/yii2-slack)[ Docs](http://www.futuretek.cz/)[ RSS](/packages/futuretek-yii2-slack/feed)WikiDiscussions master Synced 4w ago

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

Yii2 Slack Integration
======================

[](#yii2-slack-integration)

Object oriented integration to Slack Incoming WebHooks

Usage
-----

[](#usage)

For detailed documentation see PhpDocs

```
//Create attachment
$attachment = new Attachment();
$attachment->fallback = $attachment->preText;
$attachment->title = 'Issue was resolved';
$attachment->color = Attachment::COLOR_GOOD;
$attachment->titleLink = 'http://some.url/';
$attachment->authorName = 'Issue tracker';
$attachment->authorLink = Url::to(['/'], true);

//Create some attachment fields
$field = new AttachmentField();
$field->title = 'Priority';
$field->value = 'Critical';
$field->short = true;
$attachment->fields[] = $field;

$field = new AttachmentField();
$field->title = 'Status';
$field->value = 'Resolved';
$field->short = true;
$attachment->fields[] = $field;

//Create message
$message = new ChatPostMessage();
$message->attachments[] = $attachment;
$message->iconEmoji = 'headphones2';
$message->linkNames = true;
$message->username = 'Issue tracker';
$payload->channel = '#general';

//Init Webhook and send message
$client = new IncomingWebhookApi(['url' => Yii::$app->params['slack.webhook.url']]);
$response = $client->send($message);

//Check for errors
if ($response->hasErrors) {
    Yii::warning(SlackResponse::getErrorMessage($response->error), 'slack');
}

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

2686d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.5.0

1.0.3PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ce67c863775f4dd7237db0547fe39aaf85c9841f34773d67e88f62dcf948ae4?d=identicon)[futuretek](/maintainers/futuretek)

---

Top Contributors

[![lukascernydis](https://avatars.githubusercontent.com/u/3111717?v=4)](https://github.com/lukascernydis "lukascernydis (3 commits)")

---

Tags

slackmessagingextensionyiiintegration

### Embed Badge

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

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

###  Alternatives

[monitorbacklinks/yii2-wordpress

Yii2 component for integration with Wordpress CMS via XML-RPC API

3526.9k](/packages/monitorbacklinks-yii2-wordpress)

PHPackages © 2026

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