Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 546 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 546 Bytes

Tracy Wrapper

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.