Go to file
2022-08-16 00:18:25 +02:00
Application throw error type dependend exceptions 2022-08-16 00:18:25 +02:00
Core fix not existing component issue in admin panels login controller 2022-08-15 15:44:51 +02:00
Modules throw error type dependend exceptions 2022-08-16 00:18:25 +02:00
Setup show warning on activation if asset files doesn't exist 2022-08-14 23:13:06 +02:00
.gitignore apply code style rules 2022-08-03 09:17:43 +02:00
.php-cs-fixer.php Initial commit 2022-07-30 23:39:46 +02:00
CHANGELOG.md adjust documentation, add todo list 2022-08-05 09:41:07 +02:00
composer.json fix documentation, change package id 2022-08-03 21:51:27 +02:00
IntelliSenseHelper.php collect unhandled exceptions, errors from Smarty and PHP 2022-08-14 01:08:02 +02:00
LICENSE.md Initial commit 2022-07-30 23:39:46 +02:00
metadata.php show warning on activation if asset files doesn't exist 2022-08-14 23:13:06 +02:00
phpstan.neon improve code 2022-08-03 09:12:45 +02:00
phpunit.xml Initial commit 2022-07-30 23:39:46 +02:00
README.en.md show warning on activation if asset files doesn't exist 2022-08-14 23:13:06 +02:00
README.md show warning on activation if asset files doesn't exist 2022-08-14 23:13:06 +02:00
screenshot.jpg adjust documentation, add todo list 2022-08-05 09:41:07 +02:00
services.yaml change Monolog logger to a configurable instance 2022-08-02 23:20:52 +02:00
ToDo.md show warning on activation if asset files doesn't exist 2022-08-14 23:13:06 +02:00

deutsche Version english version

D³ Debug Bar for OXID eShop

The debug bar enables the display of relevant debug information in the shop frontend.

screenshot

Table of content

Installation

This package requires an OXID eShop installed with Composer in a version defined in the composer.json.

Please enter the following section in the composer.json of your project:

  "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"
      }
    }
  }

Open a command line and navigate to the root directory of the shop (parent directory of source and vendor). Execute the following command. Adapt the path details to your installation environment.

php composer require d3/oxid-debugbar:^1.0

If necessary, please confirm that you allow composer-symlinker and composer-patches to execute code.

Have the files of the package oxid-esales/oxideshop-ce overwritten.

Activate the module in Shopadmin under "Extensions -> Modules".

How to use

Please note that the DebugBar contains security-relevant information. It should therefore not be activated under any circumstances in a freely accessible installation.

The DebugBar displays the following tabs:

  • Messages can contain individual debug output. The messages can be set within the PHP code with debugVar($message) and corresponds to the OXID function dumpVar(...)
  • Request shows all information from GET and POST requests, as well as session, cookie and server variables
  • Timeline displays all areas defined with startProfile and stopProfile with single and summed execution time as well as a waterfall diagram
  • Shop shows basic shop information (edition, versions, theme information)
  • Configuration provides all configuration settings of the shop from database and config files
  • Smarty lists all variables of the template engine that are available on the current shop page
  • Monolog lists all log messages passed to the Monolog Logger
  • Database shows all database queries necessary to generate the current page

Changelog

See CHANGELOG for further informations.

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue. Don't forget to give the project a star! Thanks again!

  • Fork the Project
  • Create your Feature Branch (git checkout -b feature/AmazingFeature)
  • Commit your Changes (git commit -m 'Add some AmazingFeature')
  • Push to the Branch (git push origin feature/AmazingFeature)
  • Open a Pull Request

License

(status: 2022-07-30)

Distributed under the GPLv3 license.

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

This software is distributed under the GNU GENERAL PUBLIC LICENSE version 3.

For full copyright and licensing information, please see the LICENSE file distributed with this source code.

Further licenses and terms of use

Smarty collector

(https://github.com/Junker/php-debugbar-smarty/blob/master/LICENSE - status 2022-07-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.