A package that provides Doctrine DBAL middleware integration with Laravel Debugbar for query logging and performance profiling.
Install the package via Composer:
composer require cheack/debugbar-doctrine
- 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.
Contributions are welcome! Please feel free to submit a Pull Request.
This package is open-sourced software licensed under the MIT license.