2017 © Pedro Peláez
 

library component-tree-dump

A tracy panel showing current Nette component model tree.

image

dakujem/component-tree-dump

A tracy panel showing current Nette component model tree.

  • Tuesday, May 29, 2018
  • by dakujem
  • Repository
  • 1 Watchers
  • 0 Stars
  • 164 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 763 % Grown

The README.md

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., (*1)

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

Component model panel, (*3)

Usage

In config:, (*4)

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

or in index.php:, (*5)

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

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

>, (*6)

Note:, (*7)

The panel only displays components that are loaded during the shutdown. Components unloded before shutdown are not displayed in the panel., (*8)

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

Installation

$ composer require dakujem/component-tree-dump, (*10)


For icon credits, please see icons/credits.md., (*11)

The Versions

29/05 2018

dev-master

9999999-dev

A tracy panel showing current Nette component model tree.

  Sources   Download

MIT BSD-2-Clause GPL-2.0-or-later GPL-3.0-or-later

The Requires

 

by Andrej Rypák

nette tracy

29/05 2018

0.1.2

0.1.2.0

A tracy panel showing current Nette component model tree.

  Sources   Download

MIT BSD-2-Clause GPL-2.0-or-later GPL-3.0-or-later

The Requires

 

by Andrej Rypák

nette tracy

29/05 2018

0.1.1

0.1.1.0

A tracy panel showing current Nette component model tree.

  Sources   Download

MIT BSD-2-Clause GPL-2.0-or-later GPL-3.0-or-later

The Requires

 

by Andrej Rypák

nette tracy

28/05 2018

0.1

0.1.0.0

A tracy panel showing current Nette component model tree.

  Sources   Download

MIT BSD-2-Clause GPL-2.0-or-later GPL-3.0-or-later

The Requires

 

by Andrej Rypák

nette tracy