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

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

bigcommerce/grphp-statsd
========================

grphp statsd interceptor

v0.2.3(3y ago)184.9k—4.1%2MITPHPPHP ^8.0

Since Jul 21Pushed 1y ago53 watchersCompare

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

READMEChangelog (10)Dependencies (5)Versions (13)Used By (0)

grphp-statsd - StatsD interceptor for grphp
===========================================

[](#grphp-statsd---statsd-interceptor-for-grphp)

StatsD interceptor for measuring [grphp](https://github.com/bigcommerce/grphp) client requests.

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

[](#installation)

```
composer require bigcommerce/grphp-statsd
```

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

[](#configuration)

```
$config = [
    'host' => 'my.statsd.service',
    'port' => 8125,

    // optional config options
    'namespace' => 'myapp',
    'sample_rate' => 1.0, // 0->1.0 scale. 1.0 is all requests.
    'mtu' => 1500, // MTU rate
    'persistent' => false, // keep connection persistent
    'timeout' => 600, // in seconds
    'tcp' => false, // true uses TCP instead of UDP
];
$client->addInterceptor(new \Grphp\StatsD\Interceptor($config));
```

License
-------

[](#license)

Copyright (c) 2017-present, BigCommerce Pty. Ltd. All rights reserved

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor3

3 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 ~235 days

Recently: every ~435 days

Total

10

Last Release

1107d ago

PHP version history (2 changes)v0.2.0PHP ^7.0 || ^8.0

v0.2.2PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![repzy](https://avatars.githubusercontent.com/u/8057340?v=4)](https://github.com/repzy "repzy (11 commits)")[![TomA-R](https://avatars.githubusercontent.com/u/1606901?v=4)](https://github.com/TomA-R "TomA-R (9 commits)")[![kubawerlos](https://avatars.githubusercontent.com/u/9282069?v=4)](https://github.com/kubawerlos "kubawerlos (9 commits)")[![splittingred](https://avatars.githubusercontent.com/u/233334?v=4)](https://github.com/splittingred "splittingred (9 commits)")[![aleachjr](https://avatars.githubusercontent.com/u/3844269?v=4)](https://github.com/aleachjr "aleachjr (4 commits)")[![funivan](https://avatars.githubusercontent.com/u/425208?v=4)](https://github.com/funivan "funivan (2 commits)")[![zvuki](https://avatars.githubusercontent.com/u/381924?v=4)](https://github.com/zvuki "zvuki (1 commits)")[![software-artificer](https://avatars.githubusercontent.com/u/5741553?v=4)](https://github.com/software-artificer "software-artificer (1 commits)")

---

Tags

grpcgrphpphpstatsd

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bigcommerce-grphp-statsd/health.svg)

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

###  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)[ekino/newrelic-bundle

Integrate New Relic into Symfony2

28111.2M8](/packages/ekino-newrelic-bundle)

PHPackages © 2026

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