pilotcz / lazy-tracy
Lazy loaded tracy toolbar
1.0.2
2019-06-04 08:51 UTC
Requires
- php: >= 7.2
- tracy/tracy: ^2.4
This package is auto-updated.
Last update: 2026-03-07 02:26:24 UTC
README
Lazy loaded Tracy panel content via ajax request.
Installation
The recommended way to is via Composer:
composer require pilotcz/lazy-tracy
Usage
use PilotCz\LazyTracy\Panel; class CustomTracyPanel extends Panel { /** * Tracy constructor. * @param LinkGenerator $linkGenerator * @throws InvalidLinkException */ public function __construct(LinkGenerator $linkGenerator) { $url = $linkGenerator->link('System:gitPanel'); $this->setUid(self::class); $this->setUrl($url); $this->setTabText('Tab Text Here'); $this->setTabIcon('<svg>....</svg>'); } }