lbo/monit-header-bundle

This package's canonical repository appears to be gone and the package has been frozen as a result.

1.0.5 2018-06-20 07:51 UTC

README

This Symfony 3 Bundle add some extra informations to the response's header

Installation

Simple add this line to AppKernel.php

 public function registerBundles()
    {
        $bundles = array_merge($this->servicesBundles($this->getEnvironment(), $this), [
            [...]
            new Lbo\Bundle\MonitHeaderBundle\MonitHeaderBundle(),

Usage

Then, inspect your headers with, for example, Postman

Execution-Controller →App\Controller\MyController -> myMethod
Execution-Doctrine-Queries →8
Execution-Max-Memory →4194304 bytes
Execution-Time →206 ms