Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Statsd Client Bundle Laravel Package

liuggio/statsd-client-bundle

Symfony bundle that integrates the StatsD PHP client, letting you send counters, gauges, timings, and sets to a StatsD daemon over UDP. Configure services and start emitting application metrics with minimal setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for application instrumentation: The core value proposition is "ready-to-use stats" — kernel-event, Doctrine, Twig, and timing instrumentation wired up out of the box, so the team doesn't hand-roll counters and timers. The PM decision this supports is whether to spend engineering sprint time on in-app instrumentation or buy an APM/observability SaaS that covers the same ground.
  • Metrics backend standardization: Because this package speaks plain StatsD over UDP, adopting it is effectively a decision to standardize on StatsD as the wire protocol (and therefore on Graphite, Datadog, InfluxDB+Telegraf, or StatsD-exporter→Prometheus as the backend). That's a platform/roadmap commitment, not just a library choice.
  • SLO and error-budget feasibility: Ready-made timing and counting primitives let you ask "can we instrument what we promise in our SLOs this quarter?" before committing to SLOs publicly — a gating question for reliability roadmap items.
  • Incident-response maturity roadmap: Cheap, low-friction instrumentation shortens time-to-detection for latency and error-rate regressions; this feeds the sequencing decision between "observability foundation" and "feature velocity" work.
  • Feature-flag and rollout measurement: StatsD counters/gauges are a lightweight way to quantify canary vs. baseline behavior during a phased rollout — useful input to go/no-go decisions on staged releases.

When to Consider This Package

  • Only if the stack is genuinely Symfony 2. This is a Symfony2 bundle, not a Laravel package. There is no service provider, no config/ publishing, no Laravel facade. For a Laravel codebase it cannot be dropped in; the reusable part is the underlying liuggio/statsd-php-client, not this bundle.
  • Last release was February 2016 — roughly a decade stale, zero dependents, and a low opportunity score (10.7). Symfony 2/3 are long EOL. Treat it as a reference implementation to read, not a dependency to install.
  • You need sub-millisecond, fire-and-forget metrics with no vendor lock-in. StatsD-over-UDP is stateless and cheap; if you want to own your metrics pipeline end-to-end on infrastructure you already run (Graphite/Telegraf/Prometheus-exporter), the pattern is still sound.
  • Look elsewhere when:
    • You're on Laravel — prefer Laravel Pulse for first-party app metrics, or a maintained StatsD client (league/statsd, domnikl/statsd-php) behind a thin service provider you write yourself.
    • You need distributed tracing, not just metrics — go to OpenTelemetry PHP, which covers metrics and traces with a maintained SDK.
    • You need Prometheus-native scraping and label cardinality — use promphp/prometheus_client_php rather than StatsD translation.
    • You require security patching, PHP 8.x support, or any maintenance guarantee.

How to Pitch It (Stakeholders)

For executives: This is a well-known but abandoned Symfony2 bundle (last release 2016, MIT, ~164 stars, no downstream dependents). It is not a Laravel package and cannot be adopted into our stack. Its value to us is as a design reference: it shows, in ~a few hundred lines, what "good enough" application instrumentation looks like — request timings, DB query counts, cache hit/miss counters, all emitted as fire-and-forget StatsD datagrams. I recommend we do not take a dependency on it and instead spend roughly one engineer-week wiring an equivalent thin instrumentation layer into our existing Laravel service provider, targeting OpenTelemetry or Prometheus alongside Laravel Pulse. That gives us the same metrics coverage with maintained, PHP 8-compatible tooling and no dead-code risk.

For engineering: Don't composer require this — Symfony2 bundle, EOL, no Laravel integration, unmaintained since 2016. Read it for the instrumentation points it targets (kernel request/response, Doctrine, Twig, cache) and reproduce those touchpoints in a small Laravel middleware + service provider. Budget the same effort you'd have spent configuring this, and get a maintained client and PHP 8 support in return.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core