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 yesterday

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

Maintenance29

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity17

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://avatars.githubusercontent.com/u/10770978?v=4)[Florin Motoc](/maintainers/FlorinMotoc)[@FlorinMotoc](https://github.com/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.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)

PHPackages © 2026

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