DataDog/dd-trace-php

Datadog PHP Clients

558

stars

6,935

commits

PHP

primary language

Sep 10, 2026

updated

docs.datadoghq.com/tracing/setup/php
apm
appsec
asm
datadog
open-telemetry
opentracing
php
profiling
tracing
Browse cluster: Distributed Tracing and APM Instrumentation

README

DD Trace PHP

CircleCI 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.87.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.

Contributors

(top 30 of 120)

labbati

1,324 commits

SammyK

887 commits

morrisonlevi

758 commits

pawelchcki

653 commits

DataDog/dd-trace-php

Datadog PHP Clients

558

stars

6,935

commits

PHP

primary language

Sep 10, 2026

updated

docs.datadoghq.com/tracing/setup/php
apm
appsec
asm
datadog
open-telemetry
opentracing
php
profiling
tracing
Browse cluster: Distributed Tracing and APM Instrumentation

README

DD Trace PHP

CircleCI 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.87.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.

Contributors

(top 30 of 120)

labbati

1,324 commits

SammyK

887 commits

morrisonlevi

758 commits

pawelchcki

653 commits

Languages

PHP

87.9%

JavaScript

3.6%

CSS

3.3%

Twig

1.8%

C

1.1%