PHPackages                             pmill/rabbit-rabbit-statsd - 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-statsd

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

pmill/rabbit-rabbit-statsd
==========================

A StatsD integration for pmill/rabbit-rabbit

v0.1.1(8y ago)05MITPHPPHP &gt;=7.1.0

Since Apr 18Pushed 8y ago1 watchersCompare

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

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

pmill/rabbit-rabbit-statsd
==========================

[](#pmillrabbit-rabbit-statsd)

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

[](#introduction)

This library is an integration for [pmill/rabbit-rabbit](https://github.com/pmill/rabbit-rabbit) allows you to send your RabbitMQ message counts to StatsD.

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

[](#requirements)

This library package requires PHP 7.1 or later, and a previously setup StatsD server.

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-statsd
```

Usage
=====

[](#usage)

The following example will post the message count for your queue to your StatsD metric. 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';
$metric = 'message_queue_count';

$statsDClient = new StatsDClient();
$statsDClient->configure([
    'host' => '127.0.0.1',
    'port' => 8125,
    'namespace' => 'example'
]);

$manager->addRule(
    new StatsDRule(
        $vhostName,
        $queueName,
        $statsDClient,
        $metric
    ),
    new GreaterThan(0)
);

$manager->run();
```

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

[](#version-history)

0.1.1 (22/04/2018)

- Bugfix - Fixed metric name variable format

0.1.0 (18/04/2018)

- First public release of rabbit-rabbit-statsd

Copyright
=========

[](#copyright)

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

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~3 days

Total

2

Last Release

2939d 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 (2 commits)")

---

Tags

phpapistatsdrabbitmqrulesmanagement

### Embed Badge

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

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

###  Alternatives

[vinelab/bowler

A Rabbitmq wrapper for Laravel

4659.7k1](/packages/vinelab-bowler)[alchemy/rabbitmq-management-client

RabbitMQ Management Plugin API Client

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

Nette extension for RabbitMQ (using BunnyPHP)

251.6M](/packages/contributte-rabbitmq)[iamfarhad/laravel-rabbitmq

A robust RabbitMQ driver for Laravel Queue with advanced message queuing, reliable delivery, and high-performance async processing capabilities

3215.6k](/packages/iamfarhad-laravel-rabbitmq)

PHPackages © 2026

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