nystudio107 / craft-twigprofiler
Twig Profiler allows you to profile sections of your Twig templates, and see the resulting timings in the Yii2 Debug Toolbar
Fund package maintenance!
khalwat
Installs: 62 918
Dependents: 1
Suggesters: 0
Security: 0
Stars: 22
Watchers: 4
Forks: 4
Type:craft-plugin
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- craftcms/rector: dev-main
This package is auto-updated.
Last update: 2024-11-24 00:57:33 UTC
README
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
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-twigprofiler
-
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