PHPackages                             danstaver/template-hints - 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. danstaver/template-hints

ActiveMagento2-module[Templating &amp; Views](/categories/templating)

danstaver/template-hints
========================

Add the option to customize templatehints parameter name.

1.0.2(4y ago)025MITPHP

Since Mar 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/benn1988/templatehints-parameter-name)[ Packagist](https://packagist.org/packages/danstaver/template-hints)[ RSS](/packages/danstaver-template-hints/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

magento2-templatehints
======================

[](#magento2-templatehints)

Install: `composer require danstaver/template-hints`

Add the option to customize templatehints parameter name:

By default, if you enable `Stores -> Settings -> All Stores -> Advanced -> Developer -> Debug -> Enable Hints for Storefront with URL Parameter` / `dev/debug/template_hints_storefront_show_with_parameter`, the only option you have for the parameter name, is `templatehints`, because it is hard coded inside `\Magento\Developer\Model\TemplateEngine\Plugin\DebugHints::afterCreate`, there is no option to customize parameter name.

For me, it was annoying during debugging to write so many letters just to enable the hints. That is why I have created this module, which is adding the `Stores -> Settings -> All Stores -> Advanced -> Developer -> Debug -> Parameter Name` option in the admin panel. By default, it is set to `th`, but you can of course set it to any value you want. This, on top with changing the default `Parameter Value` from default `magento` to a 1 char value, like `1` or `y` instead, makes activating the hints a lot faster.

`?/th=1` vs `?/templatehints=magento`

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~5 days

Total

2

Last Release

1509d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/adc0d5f7ebc67f51597e52b4eccc92811ff2188aaad8f7567b5db9b30ce86662?d=identicon)[benn1988](/maintainers/benn1988)

---

Top Contributors

[![benn1988](https://avatars.githubusercontent.com/u/36059686?v=4)](https://github.com/benn1988 "benn1988 (5 commits)")[![danstaver](https://avatars.githubusercontent.com/u/83032891?v=4)](https://github.com/danstaver "danstaver (1 commits)")

### Embed Badge

![Health badge](/badges/danstaver-template-hints/health.svg)

```
[![Health](https://phpackages.com/badges/danstaver-template-hints/health.svg)](https://phpackages.com/packages/danstaver-template-hints)
```

###  Alternatives

[schumacherfm/magento-twig

Twig template engine for Magento 2

6014.2k](/packages/schumacherfm-magento-twig)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2382.6k](/packages/graycore-magento2-stdlogging)[opengento/module-product-breadcrumbs

This module allows to toggle server side rendered breadcrumbs for product pages.

109.0k](/packages/opengento-module-product-breadcrumbs)

PHPackages © 2026

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