damejidlo/newrelic

Installs: 35 690

Dependents: 0

Suggesters: 0

Stars: 12

Watchers: 15

Forks: 1

2.0.3 2018-06-15 12:29 UTC

README

Downloads this Month Latest Stable Version

Install

composer require damejidlo/newrelic

Configure

  1. In your BasePresenter add use PresenterProfiler;.
  2. Into index.php put $_ENV settings (something like this):
<?php

$_ENV['REQUEST_TIME_FLOAT'] = microtime(TRUE);

$container = require __DIR__ . '/../app/bootstrap.php';

$_ENV['COMPILATION_TIME_FLOAT'] = microtime(TRUE);

$container->getByType('Nette\Application\Application')->run();