PHPackages                             alexrvs/slack-bot-listener - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alexrvs/slack-bot-listener

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alexrvs/slack-bot-listener
==========================

Simple, easy to use, PHP package for listen events in Slack.

120PHP

Since Mar 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/alexrvs/slack-bot-listener)[ Packagist](https://packagist.org/packages/alexrvs/slack-bot-listener)[ RSS](/packages/alexrvs-slack-bot-listener/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Slack Bot Listener
==================

[](#slack-bot-listener)

Bot Send Message to Slack

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist alexrvs/slack-bot-listener "*"

```

or add

```
"alexrvs/slack-bot-listener": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
require(__DIR__ . '/vendor/autoload.php');

use alexrvs\slackbotlistener\SlackBotListener;

    $webhook = "https://hooks.slack.com/services/your/incoming/hook";

    $slackbot = new SlackBotListener($webhook);

    $slackbot->text('test')->send();
```

Attachments:

```
$webhook = "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX";
$bot = new SlackBotListener($webhook);

$bot->attach($bot->createAttachment('fallback')
                                ->setText('Text Attachment')
                                ->setImageUrl('https://a.slack-edge.com/ae57/img/slack_api_logo.png')
                                ->setThumbUrl('https://a.slack-edge.com/ae57/img/slack_api_logo.png')
                                ->setFooterIcon('https://a.slack-edge.com/ae57/img/slack_api_logo.png')
                                ->setAuthor('Bobby Tables','http://flickr.com/bobby/','http://flickr.com/icons/bobby.jpg')
    )->text('test text')->send();
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2ca2509e87145b4a883b19750a08323a65e5e5314092731b1cf805d2f718a7e?d=identicon)[Alexander Vasyutin](/maintainers/Alexander%20Vasyutin)

---

Top Contributors

[![alexrvs](https://avatars.githubusercontent.com/u/5713638?v=4)](https://github.com/alexrvs "alexrvs (58 commits)")

### Embed Badge

![Health badge](/badges/alexrvs-slack-bot-listener/health.svg)

```
[![Health](https://phpackages.com/badges/alexrvs-slack-bot-listener/health.svg)](https://phpackages.com/packages/alexrvs-slack-bot-listener)
```

###  Alternatives

[dillingham/nova-ajax-select

Nova Ajax Select

861.4M2](/packages/dillingham-nova-ajax-select)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

209175.5k8](/packages/bezhansalleh-filament-google-analytics)[niels-de-blaauw/php-doc-check

Command line tool that identifies code that needs documentation.

43240.8k4](/packages/niels-de-blaauw-php-doc-check)[magekey/module-stores-flags

Magento 2 Stores Flags

1212.2k](/packages/magekey-module-stores-flags)

PHPackages © 2026

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