PHPackages                             magepsycho/magento2-easy-template-path-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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. magepsycho/magento2-easy-template-path-hints

ActiveMagento2-module[Debugging &amp; Profiling](/categories/debugging)

magepsycho/magento2-easy-template-path-hints
============================================

Easy Template Path Hints for Magento 2

1.1.3(4y ago)441.0k22OSL-3.0PHP

Since Jun 17Pushed 4y ago6 watchersCompare

[ Source](https://github.com/MagePsycho/magento2-easy-template-path-hints)[ Packagist](https://packagist.org/packages/magepsycho/magento2-easy-template-path-hints)[ Docs](https://www.magepsycho.com/magento-2-easy-template-path-hints.html)[ RSS](/packages/magepsycho-magento2-easy-template-path-hints/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (3)Used By (0)

[![Magento 2 Easy Template Path Hints](https://camo.githubusercontent.com/21d85452cbb9037cc0b473fb795e3f117158b344da13996fc3f294103b63db2b/68747470733a2f2f692e696d6775722e636f6d2f643851454852622e706e67)](https://camo.githubusercontent.com/21d85452cbb9037cc0b473fb795e3f117158b344da13996fc3f294103b63db2b/68747470733a2f2f692e696d6775722e636f6d2f643851454852622e706e67)

Magento 2 Easy Template Path Hints
==================================

[](#magento-2-easy-template-path-hints)

[![Packagist Version](https://camo.githubusercontent.com/3ae688e87389d79d2107b635418a08c10bfca17d8d63faa09c29c303f76d1ea0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61676570737963686f2f6d6167656e746f322d656173792d74656d706c6174652d706174682d68696e74733f6c6f676f3d7061636b6167697374267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/magepsycho/magento2-easy-template-path-hints)[![Packagist Downloads](https://camo.githubusercontent.com/3ca9662c21c216a01c56f473ee0277610d3f83539cfa5ed5ff0b65e692e18d07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61676570737963686f2f6d6167656e746f322d656173792d74656d706c6174652d706174682d68696e74732e7376673f6c6f676f3d636f6d706f736572267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/magepsycho/magento2-easy-template-path-hints/stats)[![Supported Magento Versions](https://camo.githubusercontent.com/383fa0d82dfdc41be8815b1665beec1d0f96e7b1c5d65d1b3a792f2bc164b767/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d253230322e335f2537435f322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/383fa0d82dfdc41be8815b1665beec1d0f96e7b1c5d65d1b3a792f2bc164b767/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d253230322e335f2537435f322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666f722d7468652d6261646765)[![License](https://camo.githubusercontent.com/a8e59c52a61079bac6876857b971b3115f991aa15de6cb7a243876b23007bb62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e3f636f6c6f723d253233323334267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/a8e59c52a61079bac6876857b971b3115f991aa15de6cb7a243876b23007bb62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e3f636f6c6f723d253233323334267374796c653d666f722d7468652d6261646765)

Overview
--------

[](#overview)

[Magento 2 Easy Template Path Hints](https://www.magepsycho.com/magento-2-easy-template-path-hints.html) is used to enable the template path hints on the fly just by using query strings.

(This is a ported version of [Easy Template Path Hints - Magento 1](https://github.com/MagePsycho/MagePsycho_Easypathhints) for Magento 2)

Functionality
-------------

[](#functionality)

- Turn on template path hints on the fly for frontend
- Turn on template path hints on the fly for backend
- Option to configure access code
- Option to save settings in cookie

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

[](#installation)

### 1 Using Composer

[](#1-using-composer)

```
composer require magepsycho/magento2-easy-template-path-hints

```

### 2 Using Modman

[](#2-using-modman)

```
modman init
modman clone git@github.com:MagePsycho/magento2-easy-template-path-hints.git

```

### 3 Using Zip File

[](#3-using-zip-file)

- Download the [Extension Zip File](https://github.com/MagePsycho/magento2-easy-template-path-hints/archive/master.zip)
- Extract &amp; upload the files to `/path/to/magento2/app/code/MagePsycho/Easypathhints/`

After installation by either means, activate the extension with following steps

1. Enable the module

```
php bin/magento module:enable MagePsycho_Easypathhints --clear-static-content
php bin/magento setup:upgrade

```

2. Flush the store cache

```
php bin/magento cache:flush

```

3. Deploy static content - *in Production mode only*

```
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy

```

4. Go to Admin &gt; STORES &gt; Configuration &gt; MAGEPSYCHO &gt; Easy Template Path Hints &gt; Manage Settings

Usage
-----

[](#usage)

1. Enable template path hints without access code:

    -
2. Enable template path hints with access code:

    - [http://magento-store-url.com/any-page?tp=1&amp;code=access-code](http://magento-store-url.com/any-page?tp=1&code=access-code)
3. Enable template path hints with cookie

    - [http://magento-store-url.com/any-page?tp=1&amp;code=your-access-code&amp;cookie=1](http://magento-store-url.com/any-page?tp=1&code=your-access-code&cookie=1)

Screenshot
----------

[](#screenshot)

[![Backend Settings](https://camo.githubusercontent.com/e72e19d3662283aee869d58d5628f436b8aaac4c05188e26c5c6b582d9b45ded/68747470733a2f2f7261772e6769746875622e636f6d2f4d61676550737963686f2f6d6167656e746f322d656173792d74656d706c6174652d706174682d68696e74732f6d61737465722f646f63732f6261636b656e642d73657474696e67732e706e67 "Backend Settings")](https://camo.githubusercontent.com/e72e19d3662283aee869d58d5628f436b8aaac4c05188e26c5c6b582d9b45ded/68747470733a2f2f7261772e6769746875622e636f6d2f4d61676550737963686f2f6d6167656e746f322d656173792d74656d706c6174652d706174682d68696e74732f6d61737465722f646f63732f6261636b656e642d73657474696e67732e706e67)

[![Frontend Demo](https://camo.githubusercontent.com/8f2c7ac98fe874565a5c66133fbd469bec7c36ec018e4a3a2e5eca7aff1c95c3/68747470733a2f2f7261772e6769746875622e636f6d2f4d61676550737963686f2f6d6167656e746f322d656173792d74656d706c6174652d706174682d68696e74732f6d61737465722f646f63732f6d6167656e746f2d322d656173792d74656d706c6174652d706174682d68696e74732d66726f6e74656e642e706e67 "Frontend Demo")](https://camo.githubusercontent.com/8f2c7ac98fe874565a5c66133fbd469bec7c36ec018e4a3a2e5eca7aff1c95c3/68747470733a2f2f7261772e6769746875622e636f6d2f4d61676550737963686f2f6d6167656e746f322d656173792d74656d706c6174652d706174682d68696e74732f6d61737465722f646f63732f6d6167656e746f2d322d656173792d74656d706c6174652d706174682d68696e74732d66726f6e74656e642e706e67)

Changelog
---------

[](#changelog)

**Version 1.1.3 (2022-02-14)**

- Bumped the version for the sake of packagist release

**Version 1.1.2 (2018-05-10)**

- Fixed wrong module path if installed via composer

**Version 1.1.1 (2018-05-10)**

- Fixed template block class hints not showing

**Version 1.1.0 (2017-06-16)**

- Refactored the code (Logger, Cookie, Config etc.)
- Fixed template path hints not working for Magento versions 2.1.3+

**Version 1.0.2 (2016-04-03)**

- Fixed template path hints for admin.
- Refactored code.

**Version 1.0.1 (2016-04-03)**

- Fixed relative XSD path of xml configurations.
- Added modman file.
- Refactored code.

**Version 1.0.0 (2015-10-30)**

- Initial Release

Authors
-------

[](#authors)

- Raj KB [![Twitter Follow](https://camo.githubusercontent.com/1264ebcaa4f5a0968a5dc17aae246f1ae578e0e75bb9660cf06d3131596ca1fe/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f72616a6b626e702e7376673f7374796c653d736f6369616c)](https://twitter.com/rajkbnp)

Contributors
------------

[](#contributors)

[![Contributors](https://camo.githubusercontent.com/40625a334c17ea67c62fe663430f5a7ad2688b33679b6daca5d3cf422a2b8ca4/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d4d61676550737963686f2f6d6167656e746f322d656173792d74656d706c6174652d706174682d68696e7473)](https://camo.githubusercontent.com/40625a334c17ea67c62fe663430f5a7ad2688b33679b6daca5d3cf422a2b8ca4/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d4d61676550737963686f2f6d6167656e746f322d656173792d74656d706c6174652d706174682d68696e7473)

To Contribute
-------------

[](#to-contribute)

Any contribution to the development of `Magento 2 Easy Template Path Hints` is highly welcome.
The best possibility to provide any code is to open a [pull request on GitHub](https://github.com/MagePsycho/magento2-easy-template-path-hints/pulls).

Need Support?
-------------

[](#need-support)

If you encounter any problems or bugs, please create an issue on [GitHub](https://github.com/MagePsycho/magento2-easy-template-path-hints/issues).

Please [visit our store](https://www.magepsycho.com/extensions/magento-2.html) for more FREE / paid extensions OR [contact us](https://magepsycho.com/contact) for customization / development services.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 91.1% 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 ~1702 days

Total

2

Last Release

1599d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47c847a6fe8bcd713aace9722ded18e2be56ffffde75e1a876957128714563e5?d=identicon)[MagePsycho](/maintainers/MagePsycho)

---

Top Contributors

[![MagePsycho](https://avatars.githubusercontent.com/u/1205071?v=4)](https://github.com/MagePsycho "MagePsycho (41 commits)")[![EliasKotlyar](https://avatars.githubusercontent.com/u/9529505?v=4)](https://github.com/EliasKotlyar "EliasKotlyar (3 commits)")[![ryanengland](https://avatars.githubusercontent.com/u/7584828?v=4)](https://github.com/ryanengland "ryanengland (1 commits)")

---

Tags

developer-productivitydeveloper-toolsmagentomagento-2magento2magento2-extensionmagento2-modulemodmanphpphp7templatedebugmagentodevelopmentextensionmodulemagento2 modulemagento 2 modulemagento 2 extensionmagento2 extensiontemplate path hint

### Embed Badge

![Health badge](/badges/magepsycho-magento2-easy-template-path-hints/health.svg)

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

###  Alternatives

[olegkoval/magento2-regenerate-url-rewrites

Add into Magento 2 a CLI feature which allow to regenerate a Url Rewrites of products and categories

4483.9M2](/packages/olegkoval-magento2-regenerate-url-rewrites)[magepsycho/magento2-custom-shipping

Magento 2 Custom Shipping

708.4k](/packages/magepsycho-magento2-custom-shipping)[magepsycho/magento2-storepricing

Magento 2 Store View Pricing

2624.4k](/packages/magepsycho-magento2-storepricing)[magepsycho/magento2-discountlimit

Magento 2 Discount Amount Limiter

1112.3k](/packages/magepsycho-magento2-discountlimit)[werfu/magento2-url-key-mask

Enable Product and Category URL\_key generation using masks

135.7k](/packages/werfu-magento2-url-key-mask)[adrianbj/tracy-debugger

The ultimate debugging and development tool for ProcessWire.

935.6k](/packages/adrianbj-tracy-debugger)

PHPackages © 2026

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