intaro/pinba-bundle
Symfony bundle integrating the Pinba PHP extension for real-time application monitoring and profiling. Collect timers, tags, and custom metrics, then send them to Pinba for performance analysis and bottleneck detection.
Adopt when:
pinba extension (or are willing to own them). Without that daemon, this package has nothing to talk to.Look elsewhere when:
To executives: This is a low-cost, self-hosted instrumentation option that gives us per-layer timing — database, templating, cache — without buying APM seats per host. The trade-off is maturity: it's a small, single-maintainer package built around a niche statistics daemon. Recommendation is a time-boxed spike (1–2 engineer-days) behind a flag, with a documented exit path to OpenTelemetry if it doesn't pay for itself. Do not treat it as a platform commitment.
To engineering: Integration is small — a bundle that registers timers around Doctrine, Twig, and Memcache, with near-zero request overhead since reporting is fire-and-forget UDP. Hard requirements are the pinba PHP extension and a Pinba-enabled MySQL instance, both of which we own operationally. On Laravel, expect extra work: the Doctrine listener has no direct equivalent, so query timing needs a custom listener, roughly doubling the integration estimate. Flag the maintenance risk explicitly — assume we fork if upstream stalls.
How can I help you explore Laravel packages today?