Skip to content

yoh/elao-profiler-dashboard-bundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elao Profiler Dashboard Bundle

What is it?

This bundle compile metrics (request info, performance metrics, db queries, etc.) of last requests (from the Symfony Profiler) into one view.

example

Installation

Symfony >= 2.7

Add repository to composer

"repositories": [
    {
        "url": "https://github.com/Elao/elao-profiler-dashboard-bundle.git",
        "type": "git"
    }
],

Require the bundle in Composer:

$ composer require elao/profiler-dashboard-bundle dev-master@dev

Install the bundle in your AppKernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    // ...

    if (in_array($this->getEnvironment(), array('dev', 'test'), true)) {
        // ...
        $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();

        // Elao Profiler Dashboard
        $bundles[] = new Elao\Bundle\ProfilerDashboardBundle\ElaoProfilerDashboardBundle();
    }
}

Import the rounting in your routing_dev.yml configuration file:

// app/config/routing_dev.yml
_elao_profiler_dashboard:
    resource: "@ElaoProfilerDashboardBundle"
    type:     annotation
    prefix:   /_profiler_dashboard

Go on http://app.domain.dev/app_dev.php/_profiler_dashboard/metrics

About

This bundle compile metrics of last requests into one view.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 85.0%
  • PHP 15.0%