PHPackages                             aleron75/mage2hints - 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. aleron75/mage2hints

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

aleron75/mage2hints
===================

A Magento 2 extension that provides some useful debug information while developing

1.0.6(4y ago)18644[1 issues](https://github.com/aleron75/mage2hints/issues)OSL-3.0PHPPHP ~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0

Since Mar 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aleron75/mage2hints)[ Packagist](https://packagist.org/packages/aleron75/mage2hints)[ RSS](/packages/aleron75-mage2hints/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (7)Used By (0)

Magento 2 hints module
======================

[](#magento-2-hints-module)

This module adds layout handles and template hints to generated page output as HTML comments.

It can be used by frontend developers to quickly spot the containers, blocks or UI elements that are used to compose the current viewed page.

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

[](#installation)

### Install module

[](#install-module)

You can install Magento 2 hints module through [composer](http://getcomposer.org/download/).

First add the repository accessing through **HTTP** protocol:

```
php composer.phar config repositories.foo vcs https://github.com/aleron75/mage2hints.git

```

or accessing through **SSH** protocol:

```
php composer.phar config repositories.foo vcs git@github.com:aleron75/mage2hints.git

```

Then add the dependency:

```
php composer.phar require aleron75/mage2hints:~1.0

```

Alternatively you can manually add the dependency in your `composer.json`.

Accessing through **HTTPS** protocol:

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/aleron75/mage2hints.git"
        }
    ],
    "require": {
        "aleron75/mage2hints": "~1.0"
    }
}

```

Accessing through **SSH** protocol:

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "git@github.com:aleron75/mage2hints.git"
        }
    ],
    "require": {
        "aleron75/mage2hints": "~1.0"
    }
}

```

Once you have added the module dependency, run the following command from your project root:

```
composer update

```

### Enable module

[](#enable-module)

After the `composer update` finishes updating dependencies, run the following commands from your project root:

```
bin/magento module:enable Aleron75_Mage2Hints
bin/magento setup:upgrade

```

If you are in production mode, you also need to generate DI configuration and all non-existing interceptors and factories through the following command:

```
bin/magento setup:di:compile

```

Usage
-----

[](#usage)

To add layout handles and template hints to page as HTML comments simply add an `html` parameter to the URL like shown below:

```
http://magento2.local/?hints=true

```

Then you can inspect your HTML source code and expect seeing something like this:

```

...

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 73.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 ~384 days

Recently: every ~479 days

Total

6

Last Release

1778d ago

PHP version history (3 changes)1.0.0PHP ~5.5.0|~5.6.0|~7.0.0

1.0.5PHP ~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0

1.0.6PHP ~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1199894?v=4)[Alessandro Ronchi](/maintainers/aleron75)[@aleron75](https://github.com/aleron75)

---

Top Contributors

[![aleron75](https://avatars.githubusercontent.com/u/1199894?v=4)](https://github.com/aleron75 "aleron75 (11 commits)")[![mirkocesaro](https://avatars.githubusercontent.com/u/1431255?v=4)](https://github.com/mirkocesaro "mirkocesaro (3 commits)")[![lorenaramonda](https://avatars.githubusercontent.com/u/4409084?v=4)](https://github.com/lorenaramonda "lorenaramonda (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aleron75-mage2hints/health.svg)

```
[![Health](https://phpackages.com/badges/aleron75-mage2hints/health.svg)](https://phpackages.com/packages/aleron75-mage2hints)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[smile/module-debug-toolbar

Smile Debug Toolbar

146247.6k2](/packages/smile-module-debug-toolbar)[yireo/magento2-whoops

Magento 2 module adding Whoops error handling

102703.5k](/packages/yireo-magento2-whoops)[clawrock/magento2-debug

Magento 2 debug module based on Magento 1 Profiler with some extra features.

8419.3k1](/packages/clawrock-magento2-debug)

PHPackages © 2026

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