Componette

Componette

milo

milo / vendor-versions v1.1.5

Tracy panel with installed libraries version

download-cloud-line composer require milo/vendor-versions

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');
  • v1.1.5 Released v1.1.5

    • no links for repositories without source (#8)
  • v1.1.4 Released v1.1.4

    • fixed scrollable content (#6)
  • v1.1.3 Released v1.1.3

    • removed fixed panel width (used to be 500px)
  • v1.1.2 Released v1.1.2

    • panel can be used multiple times
    • panel title and icon color can be adjusted
    • panel's constructor accepts path to composer.json directly, not to directory (directory still accepted) (PR #3)
    • Nette DI config 'dir' renamed to 'path' (dir still accepted)
  • v1.1.1 Released v1.1.1

    Fixed that some items in JSON files may be NULL.

  • v1.1.0

  • v1.0.0

Componette Componette felix@nette.org