v2.15.1 supports Symfony 2.x/3.x and PHP 5.4+, but this is a blocker for greenfield projects targeting modern stacks. The lack of PHP 8.x support (last release: 2020) is a critical risk for long-term viability.composer require birkof/statsd-bundle
statsd.yml with:
statsd:
host: "statsd.example.com"
port: 8125
prefix: "app.production"
kernel.request, doctrine.orm.post_flush):
services:
App\Metrics\Listener:
tags:
- { name: 'kernel.event_listener', event: 'kernel.request', method: 'onRequest' }
StatsdAwareInterface or inject the StatsdClient manually.statsd:latest) before integrating the bundle.config/bundles.php and configure statsd.yml.statsd CLI tools or Grafana to verify metrics are being collected:
statsd --graphite-host graphite.example.com
app.production.errors.rate > 10).statsd-php/statsd (the underlying client) for updates, as it may receive security patches.composer.json to avoid unexpected updates:
"require": {
"birkof/statsd-bundle": "dev-main",
"statsd-php/statsd": "^1.0"
}
app.production.*) to avoid collisions in shared StatsD instances.service.name.metric.type) for multi-service environments.tcpdump to verify traffic:
tcpdump -i any -n udp port 8125
/var/log/statsd/statsd.log) for errors.bin/console debug:event-dispatcher
How can I help you explore Laravel packages today?