PHPackages                             7170/slack-codeception-extension - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. 7170/slack-codeception-extension

ActiveLibrary[Testing &amp; Quality](/categories/testing)

7170/slack-codeception-extension
================================

This package provides an extension for Codeception to broadcast test results in Slack messenger

1.4.3(8y ago)027PHP

Since Dec 30Pushed 8y ago1 watchersCompare

[ Source](https://github.com/7170/slack-codeception-extension)[ Packagist](https://packagist.org/packages/7170/slack-codeception-extension)[ RSS](/packages/7170-slack-codeception-extension/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (1)Versions (10)Used By (0)

slack-codeception-extension
===========================

[](#slack-codeception-extension)

This package provides an extension for Codeception to send test results to Slack channels and/or users.

Pre-requisites
--------------

[](#pre-requisites)

- a pre-configured webhook from the Slack integration "Incoming Webhook" (see  for more information)

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

[](#installation)

Add the package `7170/slack-codeception-extension` to `composer.json` manually or type this in console:

```
composer require 7170/slack-codeception-extension

```

Usage
-----

[](#usage)

Enable and configure the extension in your `codeception.yaml`

**Basic** usage:

```
extensions:
  enabled:
    - Codeception\Extension\SlackExtension
config:
  Codeception\Extension\SlackExtension:
     webhook: https://hooks.slack.com/services/...

```

**Advanced** usage:

```
extensions:
   enabled:
     - Codeception\Extension\SlackExtension
config:
    Codeception\Extension\SlackExtension:
       webhook:           https://hooks.slack.com/services/...

       # possible notification strategies: always|successonly|failonly|failandrecover|statuschange
       strategy:          always

       # If 'true' details about failed tests will be displayed. Default value: 'false'
       extended:          true

       # Limit the size of error messages in extended mode. 0 = unlimited. Default value: 80
       extendedMaxLength: 80

       # customize your message with additional prefix and/or suffix

       messagePrefix:     '*Smoke-Test*'
       messageSuffix:
       messageSuffixOnFail:

       # optional config keys that will overwrite the default configuration of the webhook

       channel:           '#any-channel,@any-user'
       channelOnFail:     '#any-channel,@any-user'
       username:          CI
       icon:              :ghost:

```

Example
-------

[](#example)

[![slack-example](slack-example.png)](slack-example.png)

Dependencies
------------

[](#dependencies)

This package uses the package [maknz/slack](https://github.com/maknz/slack) to communicate with the Slack API.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 78.6% 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 ~54 days

Total

9

Last Release

2987d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16a0923e59fa5f68b22281b7c3fc52361ad48be83fbca2759fe1b21f6af554e9?d=identicon)[7170](/maintainers/7170)

---

Top Contributors

[![ngraf](https://avatars.githubusercontent.com/u/7094389?v=4)](https://github.com/ngraf "ngraf (11 commits)")[![7170](https://avatars.githubusercontent.com/u/7570981?v=4)](https://github.com/7170 "7170 (3 commits)")

---

Tags

codeceptionslackextension

### Embed Badge

![Health badge](/badges/7170-slack-codeception-extension/health.svg)

```
[![Health](https://phpackages.com/badges/7170-slack-codeception-extension/health.svg)](https://phpackages.com/packages/7170-slack-codeception-extension)
```

###  Alternatives

[codeception/lib-asserts

Assertion methods used by Codeception core and Asserts module

10458.1M14](/packages/codeception-lib-asserts)[site5/phantoman

The Codeception extension for automatically starting and stopping PhantomJS when running tests.

481.1M17](/packages/site5-phantoman)[mcustiel/phiremock-codeception-extension

Codeception extension for Phiremock. Allows to stub remote services for HTTP requests.

311.0M5](/packages/mcustiel-phiremock-codeception-extension)[mcustiel/codeception-http-mock

Extension for HTTP Mock.

1424.3k1](/packages/mcustiel-codeception-http-mock)[kolyunya/codeception-markup-validator

Markup validator module for Codeception.

1413.8k3](/packages/kolyunya-codeception-markup-validator)

PHPackages © 2026

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