Componette

Componette

dakujem

dakujem / component-tree-dump 0.1.5

A Tracy panel for visualising Nette application component tree.

download-cloud-line composer require dakujem/component-tree-dump

Component model tree panel & dumper for Nette

A Tracy panel and general dumper for visualising components in the current component tree in Nette. Displays components that get loaded during the page rendering.

Useful in cases where the component structure is more complex or one simply wants to inspect if correct components get loaded.

Component model panel

Usage

In config:

decorator:
	Nette\Application\Application:
		setup:
			- Dakujem\Nette\ComponentTreeDumper::registerPanel()

or in index.php:

$container = require __DIR__ . '/../app/bootstrap.php';

$app = $container->getService( 'application' );
Dakujem\Nette\ComponentTreeDumper::registerPanel( $app );
$app->run();

Note:

The panel only displays components that are loaded during the shutdown. Components unloded before shutdown are not displayed in the panel.

One can, however, use the dumper to display the component tree by manually calling ComponentTreeDumper::out method at any time.

Installation

$ composer require dakujem/component-tree-dump


For icon credits, please see icons/credits.md.

  • 0.1.5 v0.1.5

    Relaxes PHP requirement to >=7.

  • 0.1.4 v0.1.4

    updated nette/application dependency

  • 0.1.3 v0.1.3

  • 0.1.2 Panel scroll

  • 0.1.1 v0.1.1 - updated panel icon

  • 0.1 Initial release

bar-chart-fill

Statistics

download-cloud-fill
14725
star-fill
3
bug-fill
1
flashlight-fill
267d
price-tag-2-line

Badges

guide-fill

Dependencies

php (^7.0)
nette/application (^2.2 || ^3)
Componette Componette felix@nette.org