PHPackages                             ho-nl/magento2-templatehints - 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. ho-nl/magento2-templatehints

Abandoned → [honl/magento2-templatehints](/?search=honl%2Fmagento2-templatehints)Magento2-module[Templating &amp; Views](/categories/templating)

ho-nl/magento2-templatehints
============================

H&amp;O Magento 2 Advanced Template Hints module

0.6.0(1y ago)2758.3k71[22 issues](https://github.com/ho-nl/magento2-Ho_Templatehints/issues)BSD-2-ClausePHPPHP ~7.3||~7.4||^8.1||~8.2

Since Jun 9Pushed 1y ago28 watchersCompare

[ Source](https://github.com/ho-nl/magento2-Ho_Templatehints)[ Packagist](https://packagist.org/packages/ho-nl/magento2-templatehints)[ Docs](https://github.com/ho-nl/magento2-Ho_Templatehints)[ RSS](/packages/ho-nl-magento2-templatehints/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)DependenciesVersions (12)Used By (0)

H&amp;O Magento 2 Advanced Template Hints module
================================================

[](#ho-magento-2-advanced-template-hints-module)

[![Overview](docs/total-workings.gif)](docs/total-workings.gif)

Ho\_Templatehints extends the default Magento template hints.

- Easily accessible with muscle memory `?ath=1`.
- Shows hints for **Templates**, **AbstractBlocks** (Blocks), **Containers** and **UI Components**.
- No layout interference: Using css outline instead of borders of other HTML elements, so it doesn't f'up the layout.

[![Usage $0](docs/usage.gif)](docs/usage.gif)

Installation
------------

[](#installation)

```
composer require --dev honl/magento2-templatehints
php bin/magento module:enable Ho_Templatehints
php bin/magento setup:upgrade

```

### Development installation (git enabled)

[](#development-installation-git-enabled)

```
composer require --dev honl/magento2-templatehints "dev-master"
php bin/magento module:enable Ho_Templatehints
php bin/magento setup:upgrade

```

### Configure PHPStorm, allow remote calls

[](#configure-phpstorm-allow-remote-calls)

[![Setting up PHPStorm](docs/phpstorm-config.png)](docs/phpstorm-config.png)

Usage
-----

[](#usage)

1. Set your Magento 2 installation to developer mode (when in production mode make sure to add your IP address in Developer Client Restrictions).
2. Add `?ath=1` to your URL to activate.
3. Open up your console in you Chrome/Firefox/Safari/IE devtools.
4. hold ⇧ (shift)
5. Hover over the element you wish to inspect
6. Voila! Hints everywhere!

### Hints for hidden elements

[](#hints-for-hidden-elements)

You can't show hints for a hidden element, for that purpose there is `hint($0)`:

```
//Select an element in the Elements panel in your devtools, it is now available with $0
hint($0)
```

[![Console $0](docs/console.gif)](docs/console.gif)

Inner Workings
--------------

[](#inner-workings)

The module adds an additional HTML attribute to the outer most element of a layout element.

Credits
-------

[](#credits)

Inspiration from [Aoe\_TemplateHints](https://github.com/AOEpeople/Aoe_TemplateHints) and a lot of love from H&amp;O.

Developer
---------

[](#developer)

This module was developed by the H&amp;O team. Check out more about this module on the H&amp;O website: [H&amp;O Magento 2 Advanced Template hints module](https://www.h-o.nl/blog/h-o-magento-2-advanced-template-hints-module)

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance42

Moderate activity, may be stable

Popularity41

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 59.7% 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 ~314 days

Recently: every ~435 days

Total

11

Last Release

517d ago

PHP version history (8 changes)0.1.0PHP ~5.5.0|~5.6.0|~7.0.0

0.2.3PHP ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0

v0.2.4PHP ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0

0.2.5PHP ~7.1

0.3.0PHP ~7.4||~8.1.0

0.4.0PHP ~7.3||~7.4||~8.1.0

0.5.0PHP ~7.3||~7.4||^8.1

0.6.0PHP ~7.3||~7.4||^8.1||~8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15377342?v=4)[honl](/maintainers/honl)[@HonL](https://github.com/HonL)

---

Top Contributors

[![paales](https://avatars.githubusercontent.com/u/1244416?v=4)](https://github.com/paales "paales (37 commits)")[![PascalBrouwers](https://avatars.githubusercontent.com/u/17834386?v=4)](https://github.com/PascalBrouwers "PascalBrouwers (5 commits)")[![CedriqueGeense](https://avatars.githubusercontent.com/u/19906236?v=4)](https://github.com/CedriqueGeense "CedriqueGeense (4 commits)")[![SimonPrins](https://avatars.githubusercontent.com/u/6427655?v=4)](https://github.com/SimonPrins "SimonPrins (3 commits)")[![FrankHarland](https://avatars.githubusercontent.com/u/31548701?v=4)](https://github.com/FrankHarland "FrankHarland (3 commits)")[![Pihtt](https://avatars.githubusercontent.com/u/778780?v=4)](https://github.com/Pihtt "Pihtt (1 commits)")[![QuentenZ](https://avatars.githubusercontent.com/u/26741385?v=4)](https://github.com/QuentenZ "QuentenZ (1 commits)")[![riconeitzel](https://avatars.githubusercontent.com/u/930706?v=4)](https://github.com/riconeitzel "riconeitzel (1 commits)")[![tthierryEra](https://avatars.githubusercontent.com/u/103579901?v=4)](https://github.com/tthierryEra "tthierryEra (1 commits)")[![amenk](https://avatars.githubusercontent.com/u/1087128?v=4)](https://github.com/amenk "amenk (1 commits)")[![Vinai](https://avatars.githubusercontent.com/u/72463?v=4)](https://github.com/Vinai "Vinai (1 commits)")[![DanielRuf](https://avatars.githubusercontent.com/u/827205?v=4)](https://github.com/DanielRuf "DanielRuf (1 commits)")[![hgati](https://avatars.githubusercontent.com/u/6913728?v=4)](https://github.com/hgati "hgati (1 commits)")[![jahvi](https://avatars.githubusercontent.com/u/661330?v=4)](https://github.com/jahvi "jahvi (1 commits)")[![pierzakp](https://avatars.githubusercontent.com/u/1552672?v=4)](https://github.com/pierzakp "pierzakp (1 commits)")

### Embed Badge

![Health badge](/badges/ho-nl-magento2-templatehints/health.svg)

```
[![Health](https://phpackages.com/badges/ho-nl-magento2-templatehints/health.svg)](https://phpackages.com/packages/ho-nl-magento2-templatehints)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

291.8k](/packages/webkinder-sproutset)[awkwardideas/switchblade

Extended blade directives for laravel

102.1k](/packages/awkwardideas-switchblade)

PHPackages © 2026

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