Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vincentchalnot/doctrinedebugbundle

Tracing Doctrine queries in Symfony profiler
https://github.com/vincentchalnot/doctrinedebugbundle

Last synced: 4 days ago
JSON representation

Tracing Doctrine queries in Symfony profiler

Awesome Lists containing this project

README

        

Sidus/DoctrineDebugBundle Documentation
==================================

## Introduction

This bundle adds a stack trace to each doctrine query in the profiler.

![Example](Resources/documentation/exemple.png)

## 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