cheack/debugbar-doctrine

Laravel Debugbar integration for Doctrine DBAL with query logging and performance profiling support
7,167
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

larapack/doctrine-support

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

2,401,495 175
moesif/moesif-laravel

Moesif Collection/Data Ingestion Middleware for Laravel

72,329 10
barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

140,894,808 19,277
recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

286,589 378
marktopper/doctrine-dbal-timestamp-type

Add the timestamp type for Doctrine/DBAL

852,916 49