christian98/datadog-laravel
christian98/datadog-laravel integrates Laravel applications with Datadog, forwarding logs, metrics, and traces to your Datadog account. It ships a service provider, configurable handlers, and helpers for quick, low-effort observability setup.
Consider it only when all of the following hold:
MetricsEmitter interface with this package as one implementation, so swapping to the raw SDK or OpenTelemetry is a one-file change.Look elsewhere when:
dd-trace-php extension and its Laravel integration; a PHP-userland SDK wrapper will not give you spans, profiling, or trace-log correlation.To executives: This is a small, low-cost enabler for getting product and reliability metrics into Datadog faster — it shortens time-to-first-dashboard for custom business events. It is not a strategic platform choice, and it carries maintainer-risk: near-zero adoption, no vendor backing. Recommend a time-boxed trial behind our own abstraction so the downside is capped at a few hours of engineering and no lock-in.
To engineering: Treat it as a convenience adapter over the official Datadog PHP SDK — service provider, config, facade, done. Because it is unmaintained by any measurable signal (0 stars, 0 dependents), we will pin the version, read the source, and wrap it behind a MetricsEmitter interface so we can drop to the raw SDK or OpenTelemetry without touching call sites. Evaluation criteria: does it flush correctly in queue workers and Octane, does it handle agent-unreachable gracefully, and is the code small enough to fork if needed. Default position is "acceptable for a spike, not for production without the abstraction in place."
How can I help you explore Laravel packages today?