定制 dakujem/component-tree-dump 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dakujem/component-tree-dump

最新稳定版本:1.0

Composer 安装命令:

composer require dakujem/component-tree-dump

包简介

A tracy panel showing current Nette component model tree.

关键字:

README 文档

README

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( Nette\Application\Application::class );
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.

统计信息

  • 总下载量: 22.15k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unlicense
  • 更新时间: 2018-05-28