zegaclabs/module-dev-accelerator
最新稳定版本:1.0.0
Composer 安装命令:
composer require zegaclabs/module-dev-accelerator
包简介
A Magento 2 module providing development utilities for faster workflow
README 文档
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
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2025-11-24