PHPackages                             pccomponentes/apm-doctrine-dbal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. pccomponentes/apm-doctrine-dbal

ActiveLibrary[Database &amp; ORM](/categories/database)

pccomponentes/apm-doctrine-dbal
===============================

Elastic APM for Doctrine DBAL

0.1.5(5y ago)231.0k↓28%3MITPHPPHP ^7.4 | ^8.0

Since May 28Pushed 5y ago5 watchersCompare

[ Source](https://github.com/PcComponentes/apm-doctrine-dbal)[ Packagist](https://packagist.org/packages/pccomponentes/apm-doctrine-dbal)[ RSS](/packages/pccomponentes-apm-doctrine-dbal/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (7)Used By (0)

Elastic APM for Doctrine DBAL
=============================

[](#elastic-apm-for-doctrine-dbal)

This library supports Span traces of SQL queries using [Doctrine DBAL](https://github.com/doctrine/dbal).

Installation
------------

[](#installation)

1. Install via [composer](https://getcomposer.org/)

    ```
    composer require pccomponentes/apm-doctrine-dbal
    ```

Usage
-----

[](#usage)

In all cases, an already created instance of [ElasticApmTracer](https://github.com/zoilomora/elastic-apm-agent-php) is assumed.

### Native PHP

[](#native-php)

```
