---
title: PHP Compatibility Requirements
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > App and API Protection > Enabling App and API
  Protection > Compatibility Requirements > PHP Compatibility Requirements
---

# PHP Compatibility Requirements

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

## App and API Protection capabilities{% #app-and-api-protection-capabilities %}

The following App and API Protection capabilities are supported in the PHP library, for the specified tracer version:

| App and API Protection capability           | Minimum PHP tracer version |
| ------------------------------------------- | -------------------------- |
| HTTP Monitoring                             | 1.13.0                     |
| gRPC Monitoring                             | not supported              |
| GraphQL Monitoring                          | not supported              |
| Exploit Prevention                          | 1.13.0                     |
| API Security                                | 1.17.0                     |
| Account Takeover Protection                 | 1.13.0                     |
| Runtime Activation                          | 1.13.0                     |
| Runtime Software Composition Analysis (SCA) | 1.13.0                     |
| Runtime Code Analysis (IAST)                | not supported              |

The minimum tracer version to get all supported App and API Protection capabilities for PHP is 1.17.0. The following capabilities are not yet supported: gRPC Monitoring, GraphQL Monitoring, Runtime Code Analysis (IAST). **Note**: Blocking requires enabling [Remote Configuration](https://docs.datadoghq.com/tracing/guide/remote_config.md)

## Language and framework compatibility{% #language-and-framework-compatibility %}

### Supported PHP versions{% #supported-php-versions %}

The Datadog PHP Tracing library is open source. View the [GitHub repository](https://github.com/DataDog/dd-trace-php) for more information.

For the PHP tracer support policy, see the [support page](https://github.com/DataDog/dd-trace-php/blob/master/SUPPORT.md). Older versions may function, but no support is provided by default. For special requests, [contact support](https://www.datadoghq.com/support/).

You must be running Datadog Agent v5.21.1+

## Integrations{% #integrations %}

The PHP tracer includes support for the following frameworks, data stores and libraries.

The PHP packages listed in this page are relevant for App and API Protection capabilities. You can also find more tracing integrations in [APM's tracing compatibility page](https://docs.datadoghq.com/tracing/compatibility_requirements/php.md).

{% alert level="info" %}
If you don't see your library of choice listed, fill out [this short form to send details](https://forms.gle/gHrxGQMEnAobukfn7).
{% /alert %}

### Web framework compatibility{% #web-framework-compatibility %}

| Library                            | HTTP Monitoring | HTTP Blocking |
| ---------------------------------- | --------------- | ------------- |
| [Laravel](https://laravel.com)     | yes             | yes           |
| [Symfony](https://symfony.com)     | yes             | yes           |
| [WordPress](https://wordpress.org) | yes             | yes           |

### Networking framework compatibility{% #networking-framework-compatibility %}

#### HTTP client{% #http-client %}

| Library                                                                       | Server-side Request Forgery (SSRF) |
| ----------------------------------------------------------------------------- | ---------------------------------- |
| [Filesystem (ext-standard)](https://www.php.net/manual/en/ref.filesystem.php) | yes                                |

### Data store compatibility{% #data-store-compatibility %}

| Library                                                 | SQL Injection (SQLi) |
| ------------------------------------------------------- | -------------------- |
| [PDO](https://www.php.net/manual/en/book.pdo.php)       | yes                  |
| [MySQLi](https://www.php.net/manual/en/book.mysqli.php) | yes                  |

### Filesystem compatibility{% #filesystem-compatibility %}

| Library                                                                       | Local File Inclusion (LFI) |
| ----------------------------------------------------------------------------- | -------------------------- |
| [Filesystem (ext-standard)](https://www.php.net/manual/en/ref.filesystem.php) | yes                        |
