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
Requires
- php: ~8.2.0||~8.3.0||~8.4.0
- magento/framework: 103.0.*
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
- Enable feature in admin config
- View page source (Right-click → View Page Source)
- Look for
<!-- TEMPLATE START/END: path -->comments
Container Comments
- Enable feature in admin config
- View page source
- Look for
<!-- CONTAINER START/END: name -->comments
Layout Handles Logger
- Enable feature in admin config
- Open browser Developer Tools (F12)
- 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
- CHANGELOG.md - Version history
- LICENSE - OSL-3.0 license