Download the PHP package atk14/templates-panel without Composer
On this page you can find all versions of the php package atk14/templates-panel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download atk14/templates-panel
More information about atk14/templates-panel
Files in atk14/templates-panel
Download atk14/templates-panel
More information about atk14/templates-panel
Files in atk14/templates-panel
Vendor atk14
Package templates-panel
Short Description A panel for Tracy Debugger in an ATK14 project. Displays nested list of all rendered templates.
License MIT
Homepage https://github.com/atk14/TemplatesPanel
Package templates-panel
Short Description A panel for Tracy Debugger in an ATK14 project. Displays nested list of all rendered templates.
License MIT
Homepage https://github.com/atk14/TemplatesPanel
Please rate this library. Is it a good library?
Informations about the package templates-panel
TemplatesPanel
A panel for Tracy Debugger in an ATK14 application. Displays nested list of all rendered templates.
Basic usage
$bar = Tracy\Debugger::getBar();
$bar->addPanel(new TemplatesPanel());
Usage in an ATK14 application (built upon Atk14Skelet)
Use the Composer to install the panel.
cd path/to/your/atk14/project/
composer require atk14/templates-panel
Load autoloader from the Composer and enable the Tracy Debugger.
// file: lib/load.php
require(__DIR__."/../vendor/autoload.php");
if(
!TEST &&
!$HTTP_REQUEST->xhr() &&
php_sapi_name()!="cli" // we do not want Tracy in cli
){
Tracy\Debugger::enable(PRODUCTION, __DIR__ . '/../log/');
}
Add the TemplatesPanel to the Tracy in _application_after_filter().
// file: app/controllers/application_base.php
function _application_after_filter(){
if(DEVELOPMENT){
$bar = Tracy\Debugger::getBar();
$bar->addPanel(new TemplatesPanel($this->dbmole));
}
}
Licence
TemplatesPanel is free software distributed under the terms of the MIT license
All versions of templates-panel with dependencies
PHP Build Version
Package Version
The package atk14/templates-panel contains the following files
Loading the files please wait ....