datadog/dd-trace

PHP APM Client

Package info

github.com/DataDog/dd-trace-php

pkg:composer/datadog/dd-trace

Statistics

Installs: 22 385 679

Dependents: 17

Suggesters: 0

Stars: 520

1.21.0 2026-06-05 21:25 UTC

Requires

  • php: ^7.0 || ^8.0.0
  • ext-curl: *
  • ext-json: *

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 8b837e8b62ee839bf733dba2ed00ba890cb866e5

  • JosΓ© Carlos ChΓ‘vez <jcchavezs.woop@gmail.com>
  • DataDog <dev.woop@datadoghq.com>

phpDataDogtracing

This package is auto-updated.

Last update: 2026-06-18 16:12:38 UTC


README

πŸ‘ CircleCI
πŸ‘ CodeCov
πŸ‘ OpenTracing Badge
πŸ‘ OpenTelemetry Badge
πŸ‘ Minimum PHP Version
πŸ‘ License
πŸ‘ Packagist Version
πŸ‘ Total Downloads

Getting Started

πŸ‘ bits php

The Datadog PHP Tracer (ddtrace) brings APM and distributed tracing to PHP.

Installing the extension

Datadog’s PHP Tracing Library supports many of the most common PHP versions, PHP web frameworks, datastores, libraries, and more. Prior to installation, please check our latest compatibility requirements.

Visit the PHP tracer documentation for complete installation instructions.

Installation from PECL (datadog_trace) or from source

Compilation of the tracer and the profiler requires cargo to be installed. Ensure that cargo is minimum version 1.78.0, otherwise follow the official instructions for installing cargo.

Advanced configuration

For more information about configuring and instrumenting ddtrace, view the configuration documentation.

OpenTracing

The ddtrace package provides an OpenTracing-compatible tracer.

Contributing

Before contributing to this open source project, read our CONTRIBUTING.md.

Security Vulnerabilities

If you have found a security issue, please contact the security team directly at security@datadoghq.com.