承接 zegaclabs/module-dev-accelerator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  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

统计信息

  • 总下载量: 28
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2025-11-24