Search

Tip: type a command such as theme build. Press Esc to close.

Getting started

Install MageForge, build your first theme and enable the frontend inspector.

Link to section: Requirements

  • Magento 2.4.7+ (tested on 2.4.7-p10, 2.4.8-p5, 2.4.9)
  • PHP 8.3+
  • Node.js (LTS recommended)
  • Composer

Link to section: Supported Theme Types

Interactive MageForge theme chooser in the terminal

Theme TypeSupport Status
Magento Standard✅ Supported
Hyvä (TailwindCSS 3.x / 4.x)✅ Supported
Hyvä Checkout✅ Supported
Hyvä Fallback✅ Supported
Custom TailwindCSS (no Hyvä)✅ Supported
Avanta B2B✅ Supported
Your Custom ThemeCreate your own Builder

Link to section: Installation

  1. Install via Composer:

    composer require openforgeproject/mageforge
  2. Enable the module:

    bin/magento module:enable OpenForgeProject_MageForge
    bin/magento setup:upgrade

Link to section: Quick Start

# 1. List available themes
bin/magento mageforge:theme:list

# 2. Build a theme
bin/magento mageforge:theme:build Magento/luma

# 3. Watch for changes (development mode)
bin/magento mageforge:theme:watch Magento/luma

See Commands Reference for the full command list with options and examples.

Link to section: Frontend Inspector

The MageForge Inspector lets you inspect Magento blocks, templates, and performance metrics directly in your browser.

Features:

  • Template paths, block classes, and module names
  • PHP render times and cache status (lifetime, tags)
  • Web Vitals: LCP, CLS, INP per element
  • Accessibility checks: ARIA roles, contrast ratios, alt text

Link to section: Screenshot

MageForge toolbar and inspector overlay running in a Magento storefront

Enable:

bin/magento mageforge:theme:inspector enable

The Inspector can also be enabled in Admin: Stores > Configuration > MageForge > Frontend Inspector

Use in Browser:

  • Toggle: Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (macOS)
  • Hover over elements to inspect; click to lock on a specific block

Note: Requires Developer Mode. If not already active, run bin/magento deploy:mode:set developer.

Edit this page on GitHub

On this page