wearejh/m2-module-jh-block-logger
Composer 安装命令:
composer require wearejh/m2-module-jh-block-logger
包简介
Template/Block hints in the console.
README 文档
README
Installation
This module is installable via Composer.
Add repository
"repositories": [
{
"type": "vcs",
"url": "git@github.com:WeareJH/m2-module-jh-block-logger.git"
}
]
via composer CLI
$ cd project-root
$ ./composer.phar require "wearejh/m2-module-jh-block-logger:dev-master"
adding to dev dependencies in composer.json
"require-dev": { "wearejh/m2-module-jh-block-logger": "dev-master" }
Using the module
This module will instrument the output HTML with meta data, so you should only enable it during development.
./bin/magento module:enable Jh_BlockLogger
./bin/magento setup:upgrade
Now when you load any pages they will contain meta data about block & containers.
Integration tests
Module is dev feature and its output shouldn't be visible in integration tests. In order to disable it for integration tests add following instruction to install-config-mysql.php:
'disable-modules' => implode(
',',
[
'Jh_BlockLogger'
]
),
Use it with M2 Dev Tools Chrome/Firefox Extension
With this module enabled, you'll get access to all the M2 Dev Tools features.
统计信息
- 总下载量: 703
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 29
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2025-10-01