PHPackages                             maximebf/traceable-pdo - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. maximebf/traceable-pdo

AbandonedArchivedLibrary[Debugging &amp; Profiling](/categories/debugging)

maximebf/traceable-pdo
======================

Log SQL statements executed using a PDO instance

1.0(12y ago)1027.7kMITPHPPHP &gt;=5.3.0

Since Aug 17Pushed 12y ago1 watchersCompare

[ Source](https://github.com/maximebf/TraceablePDO)[ Packagist](https://packagist.org/packages/maximebf/traceable-pdo)[ Docs](https://github.com/maximebf/TraceablePDO)[ RSS](/packages/maximebf-traceable-pdo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

TraceablePDO
============

[](#traceablepdo)

[![Build Status](https://camo.githubusercontent.com/4019fe8eec7d2769a14fefc3a8be06a472b1aaeeda4f07ebe8f4e449c73fba04/68747470733a2f2f7472617669732d63692e6f72672f6d6178696d6562662f547261636561626c6550444f2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/maximebf/TraceablePDO)

Wrapper around [PDO](http://php.net/manual/en/book.pdo.php) to provide information about executed statements.

```
$pdo = new TraceablePDO(new PDO($dsn));

$result = $pdo->query('select * from mytable');

$tracedStmt = $pdo->getLastTracedStatements();
printf("The last query took %sms to execute", $tracedStmt->getDuration());

```

Also provides a `ProxyTraceablePDO` for custom PDO sublasses. Wrap your custom PDO object inside it and property access and method calls will be forwarded.

Install using [composer](http://getcomposer.org):

```
{
    "require": {
        "maximebf/traceable-pdo": "1.*"
    }
}

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4658d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f4245e71c37880b2993d787844f7ea169f81fe7e0a760e24354e5e8d973c5fb?d=identicon)[maximebf](/maintainers/maximebf)

---

Top Contributors

[![maximebf](https://avatars.githubusercontent.com/u/305740?v=4)](https://github.com/maximebf "maximebf (2 commits)")

---

Tags

debug

### Embed Badge

![Health badge](/badges/maximebf-traceable-pdo/health.svg)

```
[![Health](https://phpackages.com/badges/maximebf-traceable-pdo/health.svg)](https://phpackages.com/packages/maximebf-traceable-pdo)
```

###  Alternatives

[symfony/var-dumper

Provides mechanisms for walking through any arbitrary PHP variable

7.4k855.5M8.0k](/packages/symfony-var-dumper)[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.2k124.3M624](/packages/barryvdh-laravel-debugbar)[php-debugbar/php-debugbar

Debug bar in the browser for php application

4.4k21.3M40](/packages/php-debugbar-php-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[kint-php/kint

Kint - Advanced PHP dumper

2.8k19.3M283](/packages/kint-php-kint)[tracy/tracy

😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.

1.8k24.4M1.3k](/packages/tracy-tracy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
