cheack/debugbar-doctrine

Laravel Debugbar integration for Doctrine DBAL with query logging and performance profiling support

1.1.0 2025-03-14 09:23 UTC

This package is auto-updated.

Last update: 2025-07-04 09:05:59 UTC


README

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.