PHPackages                             florinmotoc/php-statsd-client - 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. florinmotoc/php-statsd-client

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

florinmotoc/php-statsd-client
=============================

A simple PHP statsd client

0210PHP

Since Nov 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/FlorinMotoc/php-statsd-client)[ Packagist](https://packagist.org/packages/florinmotoc/php-statsd-client)[ RSS](/packages/florinmotoc-php-statsd-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-statsd-client
=================

[](#php-statsd-client)

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

[](#installation)

Install the latest version with

```
composer require florinmotoc/php-statsd-client
```

Basic Usage
-----------

[](#basic-usage)

```
# example of .env variables
FM_STATSD_CLIENT_CUSTOM_DATADOG_HOST=localhost
FM_STATSD_CLIENT_CUSTOM_DATADOG_PORT=8125
FM_STATSD_CLIENT_CUSTOM_DATADOG_LOCAL_HOSTNAME=optional-hostname
FM_STATSD_CLIENT_CUSTOM_DATADOG_TAGS_CUSTOM_SOMETHING=something
```

- `FM_STATSD_CLIENT_CUSTOM_DATADOG_HOST`
- `FM_STATSD_CLIENT_CUSTOM_DATADOG_PORT`
    - set these to your statsd host+port
- `FM_STATSD_CLIENT_CUSTOM_DATADOG_LOCAL_HOSTNAME=optional-hostname`
    - if you want to send a custom hostname (not system hostname), you can set this .env variable
- `FM_STATSD_CLIENT_CUSTOM_DATADOG_TAGS_CUSTOM_`
    - this is a prefix.
    - anything after prefix's `_` will be sent to statsd with a prefix `c_`
    - ex: `FM_STATSD_CLIENT_CUSTOM_DATADOG_TAGS_CUSTOM_ABC=ABC` will send to statsd `c_abc=ABC`
    - ex: `FM_STATSD_CLIENT_CUSTOM_DATADOG_TAGS_CUSTOM_ABC=abc` will send to statsd `c_abc=abc`
    - ex: `FM_STATSD_CLIENT_CUSTOM_DATADOG_TAGS_CUSTOM_D=smth` will send to statsd `c_d=smth`
    - ex: `FM_STATSD_CLIENT_CUSTOM_DATADOG_TAGS_CUSTOM_ENV=prod` will send to statsd `c_env=prod`
    - ex: `FM_STATSD_CLIENT_CUSTOM_DATADOG_TAGS_CUSTOM_ENV=devel` will send to statsd `c_env=devel`

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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/0b322f19eb9fe314ab5bd37f78c097bda77644f06a44d60083f88516e31983c9?d=identicon)[FlorinMotoc](/maintainers/FlorinMotoc)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/florinmotoc-php-statsd-client/health.svg)

```
[![Health](https://phpackages.com/badges/florinmotoc-php-statsd-client/health.svg)](https://phpackages.com/packages/florinmotoc-php-statsd-client)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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