cheack/debugbar-doctrine
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
- 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.