PHPackages                             cadre/atlasorm-debugbar-bridge - 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. cadre/atlasorm-debugbar-bridge

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

cadre/atlasorm-debugbar-bridge
==============================

Library to use PHP DebugBar with Atlas ORM

1.1.1(8y ago)5107MITPHP

Since Oct 13Pushed 8y ago2 watchersCompare

[ Source](https://github.com/cadrephp/AtlasOrm.DebugBar.Bridge)[ Packagist](https://packagist.org/packages/cadre/atlasorm-debugbar-bridge)[ RSS](/packages/cadre-atlasorm-debugbar-bridge/feed)WikiDiscussions 1.x Synced 1mo ago

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

AtlasOrm.DebugBar.Bridge
========================

[](#atlasormdebugbarbridge)

Read the instructions for using [Atlas.Orm](https://github.com/atlasphp/Atlas.Orm) and [PHP Debug Bar](http://phpdebugbar.com/). I'll just show you what you need to do to make these work together.

1. Include Atlas.Orm and PHP Debug Bar in your project
------------------------------------------------------

[](#1-include-atlasorm-and-php-debug-bar-in-your-project)

I'm not listing either of these as a dependency of this library because I'll let you define what version and stability you want in your project.

2. Use Cadre\\AtlasOrmDebugBarBridge\\AtlasContainer
----------------------------------------------------

[](#2-use-cadreatlasormdebugbarbridgeatlascontainer)

Instead of using the normal `Atlas\Orm\AtlasContainer` use `Cadre\AtlasOrmDebugBarBridge\AtlasContainer`.

This class functions exactly as the normal Atlas.ORM one only it uses `Cadre\AtlasOrmDebugBarBridge\ExtendedPdo` instead of `Aura\Sql\ExtendedPdo` which wraps the inner `PDO` object in `DebugBar\DataCollector\PDO\TraceablePDO`.

3. Use Cadre\\AtlasOrmDebugBarBridge\\AtlasOrmCollector
-------------------------------------------------------

[](#3-use-cadreatlasormdebugbarbridgeatlasormcollector)

I've provided `Cadre\AtlasOrmDebugBarBridge\AtlasOrmCollector` which takes a `Cadre\AtlasOrmDebugBarBridge\AtlasContainer`, pulls the `DebugBar\DataCollector\PDO\TraceablePDO` object out of it and passes it up to its parent `DebugBar\DataCollector\PDO\PDOCollector`.

Example
-------

[](#example)

```
$atlasContainer = new Cadre\AtlasOrmDebugBarBridge\AtlasContainer(
    'mysql:host=localhost;dbname=testdb',
    'username',
    'password'
);

$debugbar = new DebugBar\StandardDebugBar();
$debugbar->addCollector(
    new Cadre\AtlasOrmDebugBarBridge\AtlasOrmCollector($atlasContainer)
);
```

Multiple Connections
--------------------

[](#multiple-connections)

```
$atlasContainer = Cadre\AtlasOrmDebugBarBridge\AtlasContainer(
    'mysql:host=localhost;dbname=testdb',
    'username',
    'password'
);

$factory = new Cadre\AtlasOrmDebugBarBridge\ConnectionFactory(
    'mysql:host=localhost;dbname=slavedb',
    'readonly',
    'password'
);

$atlasContainer->setReadConnection('readonly', $factory);

$collector = new Cadre\AtlasOrmDebugBarBridge\AtlasOrmCollector($container);
$collector->addConnectionFactory($factory, 'readonly');

$debugbar = new DebugBar\StandardDebugBar();
$debugbar->addCollector($collector);
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~57 days

Recently: every ~71 days

Total

6

Last Release

3207d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97c4de661b1a9718e83127e45b82b743076baf61bb9321708c9dfad7b02ad5a1?d=identicon)[andrewshell](/maintainers/andrewshell)

---

Top Contributors

[![andrewshell](https://avatars.githubusercontent.com/u/144136?v=4)](https://github.com/andrewshell "andrewshell (8 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cadre-atlasorm-debugbar-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/cadre-atlasorm-debugbar-bridge/health.svg)](https://phpackages.com/packages/cadre-atlasorm-debugbar-bridge)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M914](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k28](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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