milo/vendor-versions

Bar with versions list of vendor libraries for Tracy

v1.1.1 2016-03-04 16:47 UTC

README

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.

If you are using Nette DI container, register panel in config.neon:

extensions:
	vendorVersions: Milo\VendorVersions\Bridges\Nette\DI\Extension(%debugMode%)

# Optionally set path do directory with composer.json and composer.lock files
vendorVersions:
	dir: 'some/path'

If you are not using Nette DI, register panel manually:

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


# Optionally with a path to directory with composer.json and composer.lock files
Tracy\Debugger::getBar()->addPanel(
	new Milo\VendorVersions\Panel(__DIR__ . '/some/dir')
);