PHPackages                             pmill/rabbit-rabbit-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. [Queues &amp; Workers](/categories/queues)
4. /
5. pmill/rabbit-rabbit-slack

ActiveLibrary[Queues &amp; Workers](/categories/queues)

pmill/rabbit-rabbit-slack
=========================

A slack integration for pmill/rabbit-rabbit

v0.1.0(8y ago)04MITPHPPHP &gt;=7.1.0

Since Apr 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pmill/rabbit-rabbit-slack)[ Packagist](https://packagist.org/packages/pmill/rabbit-rabbit-slack)[ Docs](https://github.com/pmill/rabbit-rabbit-slack)[ RSS](/packages/pmill-rabbit-rabbit-slack/feed)WikiDiscussions master Synced yesterday

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

pmill/rabbit-rabbit-slack
=========================

[](#pmillrabbit-rabbit-slack)

Introduction
------------

[](#introduction)

This library is an integration for [pmill/rabbit-rabbit](https://github.com/pmill/rabbit-rabbit) allows you to post to Slack channels when RabbitMQ queues message counts match conditions.

Requirements
------------

[](#requirements)

This library package requires PHP 7.1 or later, and a slack account.

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

[](#installation)

The recommended way to install is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest version:

```
composer require pmill/rabbit-rabbit-slack
```

Slack Setup
-----------

[](#slack-setup)

You will need to generate a webhook URL for the channel you want to post messages to, to do this:

1. Create a Slack app
2. Create an incoming webhook URL to the app for each channel you want to post to

Usage
=====

[](#usage)

The following example will post the message count for your queue in your Slack channel when the message count is greater than 5000. There is a complete example in the `examples/` folder.

```
$config = new RabbitConfig([
    'baseUrl' => 'localhost:15672',
    'username' => 'guest',
    'password' => 'guest',
]);

$manager = new ConsumerManager($config);

$vhostName = '/';
$queueName = 'messages';
$slackWebhookUrl = '';

$manager->addRule(
    new SlackRule(
        $vhostName,
        $queueName,
        $slackWebhookUrl,
        'There are currently :messageCount ready messages in :vhostName/:queueName'
    ),
    new GreaterThan(5000)
);

$manager->run();
```

Version History
===============

[](#version-history)

0.1.0 (12/04/2018)

- First public release of rabbit-rabbit-slack

Copyright
=========

[](#copyright)

pmill/rabbit-rabbit-slack Copyright (c) 2018 pmill () All rights reserved.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3002d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

phpapislackrabbitmqrulesmanagement

### Embed Badge

![Health badge](/badges/pmill-rabbit-rabbit-slack/health.svg)

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

###  Alternatives

[alchemy/rabbitmq-management-client

RabbitMQ Management Plugin API Client

4242.6k](/packages/alchemy-rabbitmq-management-client)[vinelab/bowler

A Rabbitmq wrapper for Laravel

4660.3k1](/packages/vinelab-bowler)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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