nielsdeblaauw / query-monitor-twig-profile
Displays Twig profiler output in Query Monitor
Installs: 1 596
Dependents: 0
Suggesters: 0
Security: 0
Stars: 29
Watchers: 2
Forks: 4
Open Issues: 10
Type:wordpress-plugin
Requires
- php: >=7.0
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^0.7.0
- phpcompatibility/php-compatibility: ^9.3
- szepeviktor/phpstan-wordpress: ^1.0
- twig/twig: ^3.0
- wp-coding-standards/wpcs: ^2.3
- wpackagist-plugin/query-monitor: ^3.6
- dev-stable
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-dependabot/composer/wpackagist-plugin/query-monitor-3.11.2
- dev-dependabot/composer/twig/twig-3.5.1
- dev-dependabot/composer/szepeviktor/phpstan-wordpress-1.1.7
- dev-dependabot/npm_and_yarn/assets/twig-profile/json5-and-vue/cli-plugin-babel-and-vue/cli-plugin-eslint-and-vue/cli-service-2.2.3
- dev-dependabot/composer/dealerdirect/phpcodesniffer-composer-installer-1.0.0
- dev-dependabot/npm_and_yarn/assets/twig-profile/express-4.18.2
- dev-dependabot/npm_and_yarn/assets/twig-profile/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/assets/twig-profile/loader-utils-and-vue/cli-plugin-babel-and-vue/cli-plugin-eslint-and-vue/cli-service-1.4.2
- dev-dependabot/npm_and_yarn/assets/twig-profile/minimatch-3.1.2
- dev-dependabot/npm_and_yarn/assets/twig-profile/terser-4.8.1
This package is auto-updated.
Last update: 2024-11-24 05:08:26 UTC
README
Query Monitor Twig profile is available in the WordPress plugin repository.
Displays Twig profiler output in Query Monitor.
Automatically works with Timber.
Description
Find out which pages are slow, and why! Immediately see profiling information from Twig in your Query Monitor toolbar.
Automatically integrates with Timber.
- Support for dark mode.
- Clickable links to profiled templates in your preferred editor.
- Downloadable blackfire.io profiles.
- History mode. Save profiles so you can see the impact of your changes.
Installation
- Install the plugin
- Activate it
- Check the 'Twig profile' tab in Query Monitor
- Optimize your site
Frequently Asked Questions
Can I use it with other frameworks that use Twig?
Definitely. Just add a Twig profiler extension to your Twig instance and submit it to the collector.
if ( function_exists( 'NdB\QM_Twig_Profile\collect' ) ) { $twig = \NdB\QM_Twig_Profile\collect( $twig ); }
Development
Test the GitHub Actions workflow with act:
See the documentation for the setup-php action
./bin/act pull_request -P ubuntu-latest=shivammathur/node:latest