https://github.com/vincentchalnot/doctrinedebugbundle
Tracing Doctrine queries in Symfony profiler
https://github.com/vincentchalnot/doctrinedebugbundle
Last synced: 5 months ago
JSON representation
Tracing Doctrine queries in Symfony profiler
- Host: GitHub
- URL: https://github.com/vincentchalnot/doctrinedebugbundle
- Owner: VincentChalnot
- License: mit
- Created: 2017-11-07T16:07:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-19T08:43:11.000Z (over 1 year ago)
- Last Synced: 2025-02-12T06:53:26.032Z (9 months ago)
- Language: HTML
- Size: 93.8 KB
- Stars: 20
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Sidus/DoctrineDebugBundle Documentation
==================================
## Introduction
This bundle adds a stack trace to each doctrine query in the profiler.

## Installation
### Require the bundle with composer:
````bash
$ composer require sidus/doctrine-debug-bundle "~1.0"
````
### Add the bundle to AppKernel.php
```php
getEnvironment(), ['dev', 'test'], true)) {
// ...
if ('dev' === $this->getEnvironment()) {
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
$bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle();
// HERE!
$bundles[] = new Sidus\DoctrineDebugBundle\SidusDoctrineDebugBundle();
}
}
return $bundles;
}
// ...
}
```
## Changelog
### v1.0.2
Doesn't require xdebug to be installed anymore.
### v1.0.1
Fixing compatibility with Web Profiler 4