2017 © Pedro Peláez
 

library doctrine-debug-bundle

Adds stack trace to Doctrine queries in Symfony profiler

image

sidus/doctrine-debug-bundle

Adds stack trace to Doctrine queries in Symfony profiler

  • Thursday, June 28, 2018
  • by VincentChalnot
  • Repository
  • 3 Watchers
  • 10 Stars
  • 2,483 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 4 Versions
  • 93 % Grown

The README.md

Sidus/DoctrineDebugBundle Documentation

Introduction

This bundle adds a stack trace to each doctrine query in the profiler., (*1)

Example, (*2)

Installation

Require the bundle with composer:

$ composer require sidus/doctrine-debug-bundle "~1.0"

Add the bundle to AppKernel.php

<?php

use Symfony\Component\HttpKernel\Kernel;

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
        ];

        if (in_array($this->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., (*3)

v1.0.1

Fixing compatibility with Web Profiler 4, (*4)

The Versions

28/06 2018

dev-master

9999999-dev https://github.com/VincentChalnot/SidusDoctrineDebugBundle

Adds stack trace to Doctrine queries in Symfony profiler

  Sources   Download

MIT GPL-3.0

stack doctrine query trace

28/06 2018

v1.0.2

1.0.2.0 https://github.com/VincentChalnot/SidusDoctrineDebugBundle

Adds stack trace to Doctrine queries in Symfony profiler

  Sources   Download

MIT

stack doctrine query trace

05/06 2018

v1.0.1

1.0.1.0 https://github.com/VincentChalnot/SidusDoctrineDebugBundle

Adds stack trace to Doctrine queries in Symfony profiler

  Sources   Download

MIT

stack doctrine query trace

07/11 2017

v1.0.0

1.0.0.0 https://github.com/VincentChalnot/SidusDoctrineDebugBundle

Adds stack trace to Doctrine queries in Symfony profiler

  Sources   Download

GPL-3.0

stack doctrine query trace