cheack/debugbar-doctrine

Laravel Debugbar integration for Doctrine DBAL with query logging and performance profiling support
7,341
Install
composer require cheack/debugbar-doctrine
Latest Version:1.3.1
PHP:^8.0
License:MIT
Last Updated:Mar 23, 2026
Links: GitHub  ·  Packagist
Maintainer: cheack

Laravel Debugbar Query Logging for Doctrine

A package that provides Doctrine DBAL middleware integration with Laravel Debugbar for query logging and performance profiling.

Installation

Install the package via Composer:

composer require cheack/debugbar-doctrine

Usage

  1. Register the middleware in your Doctrine configuration (config/doctrine.php):
'managers' => [
    'default' => [
        ...
        'middlewares' => [
            \Cheack\DebugbarDoctrine\Middleware\Middleware::class,
        ],
    ],
],
  1. The middleware will automatically start logging your Doctrine queries to Laravel Debugbar.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This package is open-sourced software licensed under the MIT license.

Related Packages

hannesvdvreken/guzzle-debugbar

A Guzzle middleware that logs requests to debugbar's timeline

442,037 76
moesif/moesif-laravel

Moesif Collection/Data Ingestion Middleware for Laravel

73,617 10
barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

143,737,118 19,291
recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

287,246 379
larapack/doctrine-support

Better Doctrine Support with Laravel (Support for `enum`)

2,410,608 175

Version History

Version Released PHP Laravel License
1.3.1 ^8.0 ^10.0|^11.0|^12.0|^13.0 MIT
1.3.0 ^8.0 ^10.0|^11.0|^12.0|^13.0 MIT
1.2.0 ^8.0 ^10.0|^11.0|^12.0 MIT
1.1.0 ^8.0 ^10.0|^11.0|^12.0 MIT
1.0.2 ^8.0 ^10.0|^11.0 MIT