cheack / debugbar-doctrine
Laravel Debugbar integration for Doctrine DBAL with query logging and performance profiling support
1.3.1
2026-03-23 12:23 UTC
Requires
- php: ^8.0
- doctrine/dbal: ^3.0|^4.0
- illuminate/support: ^10.0|^11.0|^12.0|^13.0
Requires (Dev)
- doctrine/coding-standard: ^12.0
- laravel/framework: ^11.37|^12.0|^13.0
- php-parallel-lint/php-parallel-lint: ^1.4
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
- Register the middleware in your Doctrine configuration (
config/doctrine.php):
'managers' => [ 'default' => [ ... 'middlewares' => [ \Cheack\DebugbarDoctrine\Middleware\Middleware::class, ], ], ],
- 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.