craft twigprofiler

Twig Profiler allows you to profile sections of your Twig templates, and see the resulting timings in the Yii2 Debug Toolbar

22
4
PHP

Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status

Twig Profiler plugin for Craft CMS 5.x

Twig Profiler allows you to profile sections of your Twig templates, and see the resulting timings in the Yii2 Debug Toolbar

Screenshot

Requirements

This plugin requires Craft CMS 5.0.0 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require nystudio107/craft-twigprofiler
    
  3. Install the plugin via ./craft install/plugin twig-profiler via the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Twig Profiler.

Or you can install the plugin via the Plugin Store in the Craft CMS Control Panel.

Documentation

Click here -> Twig Profiler Documentation

Twig Profiler Roadmap

Some things to do, and ideas for potential features:

  • Release it

Brought to you by nystudio107