pilotcz / lazy-tracy
Lazy loaded tracy toolbar
Installs: 1 279
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: >= 7.2
- tracy/tracy: ^2.4
This package is auto-updated.
Last update: 2025-01-06 23:56:15 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>'); } }