nystudio107 / craft-templatecomments
Adds a HTML comment with performance timings to demarcate `{% block %}`s and each Twig template that is included or extended.
Fund package maintenance!
khalwat
Installs: 96 175
Dependents: 2
Suggesters: 0
Security: 0
Stars: 20
Watchers: 4
Forks: 1
Type:craft-plugin
Requires
- php: ^8.2
- craftcms/cms: ^5.4.0
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- craftcms/rector: dev-main
- dev-develop-v5
- v5.x-dev
- 5.0.4
- 5.0.3
- 5.0.1
- 5.0.0
- v4.x-dev
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 4.0.0-beta.2
- 4.0.0-beta.1
- v1.x-dev
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-develop-v4
- dev-dependabot/npm_and_yarn/docs/rollup-4.22.4
- dev-dependabot/npm_and_yarn/docs/vite-5.4.6
- dev-develop
This package is auto-updated.
Last update: 2024-11-29 18:54:34 UTC
README
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 templatecomments
via 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