lbo/monit-header-bundle

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Installs: 21 908

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 5

Forks: 0

Open Issues: 2

pkg:composer/lbo/monit-header-bundle

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