d3/oxid-debugbar

将调试栏添加到OXID eShop

安装次数: 371

依赖: 1

建议者: 0

安全: 0

星标: 0

关注者: 3

分支: 0

公开问题: 0

类型:oxideshop-module

1.2.0.1 2023-01-04 08:00 UTC

This package is auto-updated.

Last update: 2024-09-04 11:47:24 UTC


README

deutsche Version english version

D³ Debug Bar für OXID eShop

该调试栏允许在商店前端显示相关的调试信息。

screenshot

目录

安装

此包需要一个在composer.json中定义的版本中安装的OXID eShop。

请将以下部分添加到您的项目的composer.json

  "extra": {
    "ajgl-symlinks": {
      "maximebf/debugbar": {
        "src/DebugBar/Resources": "source/out/debugbar"
      }
    },
    "enable-patching": "true",
    "patches": {
      "oxid-esales/oxideshop-ce": {
        "Add overridable functions for advanced profiling in Debug Bar": "https://git.d3data.de/D3Public/DebugBar/raw/branch/patches/overridablefunctions.patch"
      }
    }
  }

打开命令行并导航到商店的根目录(source和vendor的父目录)。执行以下命令。根据您的安装环境调整路径。

php composer require d3/oxid-debugbar:^1.0

如有必要,请确认您允许composer-symlinkercomposer-patches执行代码。

覆盖oxid-esales/oxideshop-ce包中的文件。

在商店管理员中的“扩展 -> 模块”下激活该模块。

使用方法

请注意,调试栏包含安全相关的信息。因此,绝不应该在任何公开可访问的安装中激活它。

调试栏显示以下选项卡

  • “消息”可以包含个性化的调试输出。可以通过PHP代码中的debugVar($message)设置消息,并对应于OXID函数dumpVar(...)
  • “请求”显示所有GET和POST请求,以及会话、Cookie和服务器变量
  • “时间线”显示所有通过startProfilestopProfile定义的区域,包括单个和总执行时间,以及瀑布图
  • “商店”显示基本商店信息(版本、版本、主题信息)
  • “配置”提供商店的数据库和config文件中的所有配置设置
  • “Smarty”列出当前商店页面可用的所有模板引擎变量
  • “Monolog”列出传递给Monolog Logger的所有日志消息
  • “数据库”显示为生成当前页面所需的所有数据库查询

变更日志

有关更多信息,请参阅CHANGELOG

贡献

如果您有任何改进建议,请创建存储库的分支并创建一个拉取请求。或者,您可以简单地创建一个问题。将项目添加到您的收藏夹。非常感谢。

  • 创建项目分支
  • 创建功能分支(git checkout -b feature/AmazingFeature)
  • 添加您的更改(git commit -m 'Add some AmazingFeature')
  • 推送分支(git push origin feature/AmazingFeature)
  • 打开拉取请求

许可证

(截至2022年7月30日)

在GPLv3许可证下分发。

Copyright (c) D3 Data Development (Inh. Thomas Dartsch)

Diese Software wird unter der GNU GENERAL PUBLIC LICENSE Version 3 vertrieben.

请参阅随此源代码一起分发的LICENSE文件以获取完整的版权和许可证信息。

其他许可证和条款

Smarty-Collector

https://github.com/Junker/php-debugbar-smarty/blob/master/LICENSE - 截至2022年7月31日)

The MIT License (MIT)

Copyright (c) 2016 Dmitry Kosenkov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.