You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vendor Versions is a bar panel for Tracy debugger. It loads composer.json and composer.lock files and shows you versions of all currently installed libraries.
Installation
Use Composer and require milo/vendor-versions package.
With the Nette DI Container
Register panel in config.neon:
extensions:
vendorVersions: Milo\VendorVersions\Bridges\Nette\DI\Extension(%debugMode%)# Optionally set path to composer.json filevendorVersions:
path: 'path/to/composer.json'# When you use panel multiple times, you may wish to adjust some visual propertiesvendorVersions:
panelTitle: 'For deployment'iconColor: 'green'
Manual panel registration
Tracy\Debugger::getBar()->addPanel(
newMilo\VendorVersions\Panel
);
# Optionally set path to composer.json fileTracy\Debugger::getBar()->addPanel(
newMilo\VendorVersions\Panel(__DIR__ . '/some/dir')
);
# When you use panel multiple times, you may wish to adjust some visual propertiesTracy\Debugger::getBar()->addPanel(
$panel = newMilo\VendorVersions\Panel(__DIR__ . '/some/dir')
);
$panel->setPanelTitle('For deployment');
$panel->setIconColor('green');