zegaclabs/module-dev-accelerator

A Magento 2 module providing development utilities for faster workflow

Installs: 29

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:magento2-module

pkg:composer/zegaclabs/module-dev-accelerator

1.0.0 2025-11-24 06:20 UTC

This package is auto-updated.

Last update: 2025-12-24 06:39:21 UTC


README

A lightweight Magento 2 module providing real-time debugging utilities for templates, layout containers, and page layout handles.

Features

  • Template Debugger - Shows template file paths in HTML comments
  • Container Debugger - Marks layout containers with HTML comments
  • Layout Handles Logger - Logs page handles to browser console

Installation

composer require --dev zegaclabs/module-dev-accelerator
php bin/magento module:enable ZegacLabs_DevAccelerator
php bin/magento setup:upgrade
php bin/magento cache:clean

Configuration

Admin Panel → Stores → Configuration → ZegacLabs → Dev Accelerator

Options

  • Enable Dev Accelerator - Master switch (requires Developer mode)
  • Enable Template Comments - Show template paths in HTML
  • Enable Container Comments - Show container boundaries in HTML
  • Enable Layout Handles Logger - Log handles to browser console

Usage

Template Comments

  1. Enable feature in admin config
  2. View page source (Right-click → View Page Source)
  3. Look for <!-- TEMPLATE START/END: path --> comments

Container Comments

  1. Enable feature in admin config
  2. View page source
  3. Look for <!-- CONTAINER START/END: name --> comments

Layout Handles Logger

  1. Enable feature in admin config
  2. Open browser Developer Tools (F12)
  3. Check Console tab for "Page Layout Handles" section

Requirements

  • Magento: 2.4.8+
  • PHP: 8.2, 8.3, 8.4
  • Mode: Developer mode only (safe on production)

Links