PHPackages                             nielsdeblaauw/query-monitor-twig-profile - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. nielsdeblaauw/query-monitor-twig-profile

ActiveWordpress-plugin[Templating &amp; Views](/categories/templating)

nielsdeblaauw/query-monitor-twig-profile
========================================

Displays Twig profiler output in Query Monitor

1.3.6(3y ago)321.9k2[10 PRs](https://github.com/NielsdeBlaauw/query-monitor-twig-profile/pulls)MITPHPPHP &gt;=7.0

Since Sep 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/NielsdeBlaauw/query-monitor-twig-profile)[ Packagist](https://packagist.org/packages/nielsdeblaauw/query-monitor-twig-profile)[ RSS](/packages/nielsdeblaauw-query-monitor-twig-profile/feed)WikiDiscussions stable Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (24)Used By (0)

Query monitor Twig profile
==========================

[](#query-monitor-twig-profile)

[![CI](https://github.com/NielsdeBlaauw/query-monitor-twig-profile/workflows/Test/badge.svg)](https://github.com/NielsdeBlaauw/query-monitor-twig-profile/actions)[![WordPress Plugin Version](https://camo.githubusercontent.com/a27dc5fbe2ef622753ae4b3ebf60a17eb33573f77e5e19b79209ceb02871e11e/68747470733a2f2f696d672e736869656c64732e696f2f776f726470726573732f706c7567696e2f762f71756572792d6d6f6e69746f722d747769672d70726f66696c65)](https://wordpress.org/plugins/query-monitor-twig-profile/)[![Query Monitor](https://camo.githubusercontent.com/c1ff864444ec4a7ee973835351aec0caedfef0c65d2caa819e62011df784a55f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f51756572792532304d6f6e69746f722d6164642d2d6f6e2d333143363533)](https://github.com/johnbillion/query-monitor)

**Query Monitor Twig profile is available in the [WordPress plugin repository](https://wordpress.org/plugins/query-monitor-twig-profile/)**.

Displays [Twig](https://twig.symfony.com/) profiler output in [Query Monitor](https://github.com/johnbillion/query-monitor).

Automatically works with [Timber](https://github.com/timber/timber).

[![Screenshot showing the Twig Profile panel for Query Monitor](.wordpress-org/screenshot-1.png)](.wordpress-org/screenshot-1.png)[![Screenshot showing the Twig Profile panel for Query Monitor (dark mode)](.wordpress-org/screenshot-2.png)](.wordpress-org/screenshot-2.png)

Description
-----------

[](#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
------------

[](#installation)

1. Install the plugin
2. Activate it
3. Check the 'Twig profile' tab in Query Monitor
4. Optimize your site

Frequently Asked Questions
--------------------------

[](#frequently-asked-questions)

### Can I use it with other frameworks that use Twig?

[](#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
-----------

[](#development)

Test the GitHub Actions workflow with [act](https://github.com/nektos/act):

See the documentation for the [setup-php action](https://github.com/marketplace/actions/setup-php-action#local-testing-setup)

```
./bin/act pull_request -P ubuntu-latest=shivammathur/node:latest
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~52 days

Recently: every ~31 days

Total

13

Last Release

1440d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/02fe3b568484997768925e14cabb4ee06b92592e86f8c0b8a56bf8912dde89f1?d=identicon)[NielsdeBlaauw](/maintainers/NielsdeBlaauw)

---

Top Contributors

[![NielsdeBlaauw](https://avatars.githubusercontent.com/u/661876?v=4)](https://github.com/NielsdeBlaauw "NielsdeBlaauw (38 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (23 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (6 commits)")[![dylantuohy](https://avatars.githubusercontent.com/u/757918?v=4)](https://github.com/dylantuohy "dylantuohy (1 commits)")

---

Tags

hacktoberfestperformanceperformance-analysispluginquery-monitortimbertimber-librarytwigtwig-profilewordpresswordpress-developmentwordpress-plugin

### Embed Badge

![Health badge](/badges/nielsdeblaauw-query-monitor-twig-profile/health.svg)

```
[![Health](https://phpackages.com/badges/nielsdeblaauw-query-monitor-twig-profile/health.svg)](https://phpackages.com/packages/nielsdeblaauw-query-monitor-twig-profile)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
