cheack / debugbar-doctrine
Laravel Debugbar integration for Doctrine DBAL with query logging and performance profiling support
Installs: 1 171
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: ^8.0
- doctrine/dbal: ^3.0|^4.0
- illuminate/support: ^10.0|^11.0|^12.0
Requires (Dev)
- doctrine/coding-standard: ^12.0
- laravel/framework: ^11.37|^12.0
- php-parallel-lint/php-parallel-lint: ^1.4
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
- 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.