This language instrumentation is using OpenTelemetry native-php SDK and instrumentation libraries.

Supported Versions

The minimal supported version of PHP is 8.0.0. The maximal supported version of PHP is 8.4.x, when PHP releases a new version we’ll add the support for it.

  • PHP version 8.0 has been deprecated and is no longer supported by the PHP team.
    Instrumentation libraries support for this version have all reached end-of-life.

  • PHP version 8.1 has limited library support and will be the next version to be deprecated.

  • PHP version 8.2+ is the recommended version for new projects.

Instrumentation Libraries

The following PHP modules will be auto instrumented by Odigos:

PHP Standards Recommendations (PSR):

For all PHP versions

For all PHP versions

For all PHP versions

For all PHP versions

For all PHP versions

For all PHP versions

HTTP Clients:

For all PHP versions

For all PHP versions

Only for PHP 8.2+

Frameworks:

We’re working on adding support for laravel, cakephp, wordpress and yii2 frameworks.

For all PHP versions

For all PHP versions

For all PHP versions

For all PHP versions

Databases:

For all PHP versions

Only for PHP 8.2+

Only for PHP 8.2+

Only for PHP 8.2+

Messaging Systems:

Only for PHP 8.2+

Only for PHP 8.2+

Atificial Intelligence:

Only for PHP 8.1+