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

Technical Evaluation

  • Architecture fit: Poor for a Laravel stack. This is a Symfony2 bundle, not a Laravel package. It relies on Symfony’s DI container, bundle configuration, and event system; Laravel uses service providers, facades, and its own config layer. The underlying StatsD client library (liuggio/statsd-php-client) may be framework‑agnostic, but the bundle adds Symfony‑specific wiring that does not map cleanly to Laravel.
  • Integration feasibility: Low as‑is. Direct installation in Laravel is not feasible without significant adaptation. You would either extract the underlying client and wrap it in a Laravel service provider/facade, or fork and refactor the bundle. The bundle itself targets Symfony 2.x (EOL) and PHP 5.5/7.0‑era runtimes, making it incompatible with modern Laravel (PHP 8.0+).
  • Technical risk: High. Last release was 2016‑02‑25, with zero dependents and no active maintenance. Symfony 2.x is end‑of‑life, and the package likely has outdated Composer constraints that conflict with modern Laravel dependencies. Using it in production introduces technical debt, security exposure, and upgrade blockers.
  • Key questions: Is there a maintained Laravel‑native StatsD client (e.g., league/statsd or a Laravel‑specific package)? Can we extract the underlying client and build a thin Laravel adapter? Which StatsD features are required (counters, timers, gauges, tags, histograms)? Do we need the bundle’s Symfony‑specific profiler/data‑collector features, or only basic metrics emission? What is our observability roadmap, and are we willing to maintain a fork?

Integration Approach

  • Stack fit: Mismatch. Laravel’s service container and configuration system are incompatible with Symfony2 bundles. For a Laravel stack, adopt a Laravel‑native StatsD client or use the underlying liuggio/statsd-php-client directly behind a custom service provider. Do not integrate the bundle itself.
  • Migration path: If migrating from Symfony2 to Laravel, port the underlying client usage rather than the bundle. If starting fresh in Laravel, skip this bundle entirely and select a maintained alternative. If you must retain Symfony2 apps, the bundle can remain there, but it should not cross into Laravel.
  • Compatibility: Requires Symfony 2.x and PHP ~5.5–7.x. Modern Laravel (9/10/11) requires PHP 8.0+, so Composer will likely block installation due to version constraints and dependency conflicts. No PSR‑4/PSR‑15 alignment with current Laravel practices.
  • Sequencing: First, evaluate maintained alternatives. If none fit, run a short spike to extract the statsd client and wrap it in a Laravel service provider. Second, test in a non‑production environment. Third, build a minimal adapter for the metrics you actually need. Fourth, plan replacement with a maintained solution before scaling usage. Do not sequence this as a long‑term dependency.

Operational Impact

  • Maintenance: Abandoned since 2016. No security patches, no bug fixes, no compatibility updates. If forked, your team owns maintenance. The maintenance burden outweighs the value for a thin StatsD client.
  • Support: Community‑only and likely stale. No commercial support, no active maintainers, and documentation is Symfony2‑specific. Laravel developers will need to translate concepts and troubleshoot outdated code.
  • Scaling: The StatsD client itself is lightweight (UDP, fire‑and‑forget), so scaling the client is not a concern. Scaling depends on the StatsD daemon and backend. However, the legacy codebase and Symfony coupling create scaling friction for your team, not for the metrics pipeline.
  • Failure modes: StatsD over UDP can silently drop metrics. Misconfiguration in the Symfony bundle may cause container errors or silent failures. In a custom Laravel integration, misconfiguration risk increases. Lack of maintenance means bugs remain unfixed, and PHP 8+ incompatibilities can cause fatal errors. The client may lack modern StatsD features such as tags or histograms.
  • Ramp-up: Low for Symfony2 developers familiar with bundles. Moderate to high for a Laravel team, because you must understand the bundle internals or extract the client. The underlying client is simple, so ramp‑up on that layer is low, but the bundle’s Symfony‑specific configuration adds unnecessary complexity with little benefit in a Laravel context.
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