mdevrees/module-devtoolbar 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mdevrees/module-devtoolbar

最新稳定版本:0.1.2

Composer 安装命令:

composer require mdevrees/module-devtoolbar

包简介

Add a developer toolbar to your Magento2 Hyva instance

README 文档

README

A developer toolbar for Hyva-based Magento 2 frontends. Provides quick-access shortcuts for customer login, add-to-cart, and cache management during development.

Requirements

  • Magento 2 (Open Source or Commerce)
  • Hyva theme (Alpine.js frontend)

Installation

composer require --dev mdevrees/module-devtoolbar
bin/magento module:enable Mdevrees_DevToolbar
bin/magento setup:upgrade

Note: This module is intended for development environments only. It is registered as a --dev dependency and should not be installed in production.

Configuration

Navigate to Stores > Configuration > Developer Toolbar to set:

  • Customer email / password — used by the login shortcut
  • Product SKU — used by the add-to-cart shortcut

Credentials are encrypted at rest.

Features

  • One-click login — logs in as the configured customer
  • Quick add-to-cart — adds the configured product SKU
  • Cache management — view cache type statuses and flush individual or all caches
  • Admin product edit link — quick-link from the frontend product page to the backend editor

Development with Lando

This project includes a .lando.yml with a PHP 8.4 CLI service and the required PHP extensions (ftp, xsl, sockets).

# Start the environment
lando start

# Install dependencies (platform reqs excluded inside Lando)
lando composer install

# Static analysis
lando phpstan

# PHPCS
lando phpcs

# PHPCS auto-fix
lando phpcbf

Without Lando

# Install dependencies
composer install --ignore-platform-reqs

# Static analysis
vendor/bin/phpstan analyze

# PHPCS
vendor/bin/phpcs -p --runtime-set testVersion 8.4

# PHPCS auto-fix
vendor/bin/phpcbf

Planned

  • [ ] Runtime check that developer mode is active before enabling the toolbar

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固