nielsdeblaauw / query-monitor-twig-profile
在 Query Monitor 中显示 Twig 分析器输出
1.3.6
2022-06-03 13:33 UTC
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-09-24 04:45:33 UTC
README
Query Monitor Twig profile 已在 WordPress 插件仓库 中提供.
在 Twig 分析器中显示 Query Monitor 输出。
与 Timber 自动集成。
描述
找出哪些页面运行缓慢,以及原因!立即在 Query Monitor 工具栏中看到 Twig 的分析信息。
与 Timber 自动集成。
- 支持暗黑模式。
- 在您首选的编辑器中点击链接访问分析过的模板。
- 可下载 blackfire.io 分析文件。
- 历史模式。保存分析文件,以便查看您更改的影响。
安装
- 安装插件
- 激活它
- 在 Query Monitor 中检查 'Twig profile' 标签
- 优化您的网站
常见问题解答
我能否用它与其他使用 Twig 的框架一起使用?
当然可以。只需将 Twig 分析器扩展添加到您的 Twig 实例中,并将其提交到收集器。
if ( function_exists( 'NdB\QM_Twig_Profile\collect' ) ) { $twig = \NdB\QM_Twig_Profile\collect( $twig ); }
开发
使用 act 测试 GitHub Actions 工作流程
查看 setup-php 动作 的文档
./bin/act pull_request -P ubuntu-latest=shivammathur/node:latest