PHPackages                             rstgroup/statsd-module - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. rstgroup/statsd-module

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

rstgroup/statsd-module
======================

Statsd module for ZF2/ZF3

1.3.0(8y ago)472.3k↓84.4%2PHPPHP &gt;=5.6

Since Jul 23Pushed 8y ago5 watchersCompare

[ Source](https://github.com/rstgroup/statsd-module)[ Packagist](https://packagist.org/packages/rstgroup/statsd-module)[ RSS](/packages/rstgroup-statsd-module/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (4)Versions (8)Used By (0)

rstgroup/statsd-module [![Build Status](https://camo.githubusercontent.com/5272c53bcdbd84600dadd0a38d0cf07d28b96dfe95635fa4d6c5c540d7fe0d44/68747470733a2f2f7472617669732d63692e6f72672f72737467726f75702f7374617473642d6d6f64756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rstgroup/statsd-module)
========================================================================================================================================================================================================================================================================================================================

[](#rstgroupstatsd-module-)

Module is based on [domnikl/statsd-php](https://github.com/domnikl/statsd-php).

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

[](#installation)

Using composer:

```
composer require rstgroup/statsd-module

```

Configuration
-------------

[](#configuration)

In your Zend Framework application config add to module list

```
return [
    'modules' => [
        'RstGroup\\StatsdModule',
    ],
];
```

also in your autoload config based on enviroment add statsd client configuration

```
return [
    'statsd' => [
        'tcp' => [
            'host' => 'example_host',
            'port' => example_port,
            'timeout' => null,
            'persistent' => false,
            'mtu' => 1500,
        ],
        'udp' => [
            'host' => 'example_host',
            'port' => example_port,
            'timeout' => null,
            'persistent' => false,
            'mtu' => 1500,
        ],
        'namespace' => 'services.default',
        'connectionType' => 'RstGroup\Statsd\Connection\Blackhole',
    ],
];
```

Connection types:

- `RstGroup\Statsd\Connection\Udp`
- `RstGroup\Statsd\Connection\Tcp` errors will not be suppressed in this mode
- `RstGroup\Statsd\Connection\Memory` in this mode sending is disabled, but messages are collected
- `RstGroup\Statsd\Connection\Blackhole` in this mode sending is disabled

Usage
-----

[](#usage)

Typical usage from ServiceManager

```
$client = $serviceManager->get("RstGroup\Statsd\Client");
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

4

Last Release

3109d ago

PHP version history (3 changes)1.0.0PHP &gt;=5.4.0

1.2.0PHP &gt;=5.5 || ^7.0

1.3.0PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2773776?v=4)[alabme](/maintainers/alabme)[@Alabme](https://github.com/Alabme)

![](https://www.gravatar.com/avatar/6ffa5d2fe34b04844f854a4fa7ce073c69a500fe6352d69461756abf1b23599d?d=identicon)[rstgroup](/maintainers/rstgroup)

---

Top Contributors

[![adrian-ziolkowski](https://avatars.githubusercontent.com/u/11677961?v=4)](https://github.com/adrian-ziolkowski "adrian-ziolkowski (4 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (3 commits)")[![aziolkowski](https://avatars.githubusercontent.com/u/16625071?v=4)](https://github.com/aziolkowski "aziolkowski (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rstgroup-statsd-module/health.svg)

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

###  Alternatives

[stevencorona/opcache-json

Library that grabs some critical stats from Zend Opcache and outputs to JSON for monitoring and alerting. Can also output to statsd sink.

117321.6k](/packages/stevencorona-opcache-json)[snapshotpl/zf-snap-php-debug-bar

PHP Debug Bar module for Zend Framework 2

3026.1k](/packages/snapshotpl-zf-snap-php-debug-bar)[davidhavl/dherrorlogging

Full featured error logging module for ZF2/ZF3 application

1924.6k](/packages/davidhavl-dherrorlogging)[jhuet/zdt-logger-module

A ZF3 module to log data using Zend\\Log and write them to ZendDeveloperTools toolbar.

1765.7k4](/packages/jhuet-zdt-logger-module)

PHPackages © 2026

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