Skip to content

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

License

Notifications You must be signed in to change notification settings

nystudio107/craft-twigprofiler

Repository files navigation

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

About

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages