Skip to content
Tracy panel with installed libraries version
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
LICENSE
README.md
composer.json
screenshot.png

README.md

Vendor Versions

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.

Tracy panel screenshot

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 file
vendorVersions:
    path: 'path/to/composer.json'

# When you use panel multiple times, you may wish to adjust some visual properties
vendorVersions:
    panelTitle: 'For deployment'
    iconColor: 'green'

Manual panel registration

Tracy\Debugger::getBar()->addPanel(
    new Milo\VendorVersions\Panel
);


# Optionally set path to composer.json file
Tracy\Debugger::getBar()->addPanel(
    new Milo\VendorVersions\Panel(__DIR__ . '/some/dir')
);

# When you use panel multiple times, you may wish to adjust some visual properties
Tracy\Debugger::getBar()->addPanel(
    $panel = new Milo\VendorVersions\Panel(__DIR__ . '/some/dir')
);
$panel->setPanelTitle('For deployment');
$panel->setIconColor('green');
You can’t perform that action at this time.