netpromotion/tracy-wrapper

This package is abandoned and no longer maintained. The author suggests using the maximebf/debugbar package instead.

Tracy wrapper

v1.1.2 2020-02-13 15:55 UTC

This package is not auto-updated.

Last update: 2020-02-13 16:06:55 UTC


README

Helper which helps you with Tracy injection into your project.

Lumen + Tracy

Usage

<?php // index.php

$panels = [new BarPanelA(), new BarPanelB()];
// or
$panels = function () { // will be called only if Tracy detects development mode
    return [new BarPanelA(), new BarPanelB()];
};

tracy_wrap(function() {
    app()->run();
}, $panels /* optional */);

How to install

Run composer require netpromotion/tracy-wrapper in your project directory.