nystudio107/craft-templatecomments
Adds a HTML comment with performance timings to demarcate `{% block %}`s and each Twig template that is included or extended.
Maintainers
Package info
github.com/nystudio107/craft-templatecomments
Type:craft-plugin
pkg:composer/nystudio107/craft-templatecomments
Fund package maintenance!
Requires
- php: ^8.2
- craftcms/cms: ^5.9.0
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- craftcms/rector: dev-main
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-06-29 01:08:06 UTC
README
π Scrutinizer Code Quality
π Code Coverage
π Build Status
π Code Intelligence Status
Template Comments plugin for Craft CMS 5.x
Adds a HTML comment with performance timings to demarcate {% block %}s and each Twig template that is included or extended.
Requirements
This plugin requires Craft CMS 5.0.0 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require nystudio107/craft-templatecomments -
Install the plugin via
./craft install/plugin templatecommentsvia the CLI, or in the Control Panel, go to Settings β Plugins and click the βInstallβ button for Template Comments.
You can also install Template Comments via the Plugin Store in the Craft Control Panel.
Documentation
Click here -> Template Comments Documentation
Template Comments Roadmap
Some things to do, and ideas for potential features:
- Support wrapping macros in comments
Brought to you by nystudio107
