Skip to content

Helper which helps you with Tracy injection into your project.

License

Notifications You must be signed in to change notification settings

levinside/tracy-wrapper

 
 

Repository files navigation

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.

About

Helper which helps you with Tracy injection into your project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%