Developer Toolbar for Magento2

Overview

Developer Toolbar for Magento2

Code Climate Total Downloads

About

Hope this debug toolbar can speed up Magento2 development module. Any feedback and idea to improve this toolbar will be appreciated so get in touch via the issue tracker on GitHub. Feel free to fork and pull request. The structure of this toolbar is extremely simple you just need to add a new block in the layout to get your tab running.

Features

Panels

  • Info : Main informations about controller, route, action and store. Search on core config data. Dedicated tab output for local and global phpinfo.
  • Design : List handles called and display layout structure of nested blocks and containers
  • Profile : View current observers, all events dispatched, collections and models loaded, plugins instanciated
  • Queries : Statistics about executed queries and detailed query listing with syntax highlighting of main SQL keywords
  • Logs : Display log files with ability to reset these files
  • Translation : Quickly see module, pack,theme and DB translations
  • Actions : Easily toggle template hints and inline translation and flush cache
  • Help : Show module version and link to github

Screenshots

  • Info tab

  • Queries Tab

  • See the toolbar in action Video

Installation

Manual (without composer)

  • Download zip file of thelast version of this extension under release tab
  • Extract files in the Magento root directory in the folder app/code/ADM/QuickDevBar
  • Enable the extension
php bin/magento --clear-static-content module:enable ADM_QuickDevBar
  • Upgrade Magento setup
php bin/magento setup:upgrade

With Composer

In the Magento root directory

  • Install the module
composer require vpietri/adm-quickdevbar --dev
php bin/magento module:enable ADM_QuickDevBar 
php bin/magento setup:upgrade

With Modman

In the Magento root directory

  • Install the module
modman clone [email protected]:vpietri/magento2-developer-quickdevbar.git
php bin/magento module:enable ADM_QuickDevBar 
php bin/magento setup:upgrade

Cleaning

  • Upgrade Magento setup
php bin/magento setup:upgrade
  • Clear cache
php bin/magento cache:flush

Setup

The toolbar is displayed by default if your web server is on your local development environment.

The configuration is in Stores/Configuration/Advanced/Developer/Quick dev bar configuration

If you do not see the toolbar you should either force activation by setting the select "Activate" to "Yes" or fill your IP in the field "Allowed IPs" or fill a matching pattern of you user-agent in the field "Allowed user-agent pattern"

Documentation

Comments
  • Module conflicts with tabs widget

    Module conflicts with tabs widget

    Hello there

    FIrst of all, thanks for this great module. I however encountered a problem using the toolbar in the backend of Magento 2. When visiting a grid thats using tabs, your module causes a conflict.

    • Uncaught Error: no such method 'activeAnchor' for tabs widget instance(…)error @vpietri

    Should you need any more information. Please ask me.

    bug 
    opened by keijsers 8
  • quick dev bar doesnt show

    quick dev bar doesnt show

    The toolbar is displayed by default if your web server is on your local development environment with the standard IPv4 address: 127.0.0.1. If not you can specify your IP on define an part of your http header in the config.

    you mean my ip?

    i running Magento 2.1.0-rc3

    I can see the call for the css of the extension but cant see the html of it. any idea? i use my ip from "what is my ip" at google.

    i put the ip on the admin section "Header for Quick Dev Bar " and i still cant see the quick dev bar. any help? cant find a config xml also .

    needs update 
    opened by refaelgold 8
  • Admin section

    Admin section

    The only section I see in admin is under Developer Client Restrictions > Header for Quick Dev Bar.

    How can I activate it ? I see nothing on frontend.

    Thanks!

    needs update 
    opened by florinserbu2 7
  • Profiler not displaying in toolbar

    Profiler not displaying in toolbar

    Profiler is sometimes displaying at the bottom of the page instead of in the toolbar. I'm running on an apache environment with PHP7. For some reason the profiler is only displaying in the toolbar around 10% of the time.

    needs update 
    opened by Hexmage 6
  • [Magento 2.1.0 rc3] Cannot find profiler table or profiler is not enabled.

    [Magento 2.1.0 rc3] Cannot find profiler table or profiler is not enabled.

    Cannot find profiler table or profiler is not enabled.
    You have to add a SetEnv MAGE_PROFILER "html" to your .htaccess (do not use "csvfile" nor "firebug" to have profiler displayed in tab). Be careful with .htacces directive you can have $_SERVER['REDIRECT_MAGE_PROFILER'] set instead of $_SERVER['MAGE_PROFILER'] prefer apache2.conf.
    

    profiler

    opened by Dayssam 5
  • blank page with MGS themes (claue and molla)

    blank page with MGS themes (claue and molla)

    Hi, i have a magento 2.3.4 with MGS Molla and a Magento 2.4.2 with MGS Claue and in both website i get a blank page when i activate the extension.

    In other installation with different themes it works fine.

    Nothing on magento log. (on apache i get status 200)

    needs update 
    opened by massalinux 4
  • base is not a constructor

    base is not a constructor

    HI,

    i installed it under MAgento 2.4.2 and got an JS error Message in Frontend.

    Uncaught TypeError: base is not a constructor

    thrown in quickdevbar.js

    Any Duggestions?

    needs update 
    opened by rimmeh 3
  • Class 'ADM\QuickDevBar\Block\Tab\Panel' not found during DI compilation

    Class 'ADM\QuickDevBar\Block\Tab\Panel' not found during DI compilation

    I have the module installed in app/code/ADM/QuickDevBar as suggested in the README page and it worked for some months until a few days ago. When I try to execute:

    bin/magento setup:di:compile

    I get the following:

    Compilation was started. Repositories code generation... 1/7 [====>-----------------------] 14% < 1 sec 83.0 MiBPHP Fatal error: Uncaught Error: Class 'ADM\QuickDevBar\Block\Tab\Panel' not found in /var/www/html/app/code/ADM/QuickDevBar/Block/Tab/Content/Event.php:7 Stack trace: #0 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(135): require_once() #1 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(117): Magento\Setup\Module\Di\Code\Reader\ClassesScanner->includeClasses(Array, '/var/www/html/a...') #2 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(88): Magento\Setup\Module\Di\Code\Reader\ClassesScanner->extract(Object(RecursiveIteratorIterator)) #3 /var/www/html/setup/src/Magento/Setup/Module/Di/App/Task/Operation/RepositoryGenerator.php(61): Magento\Setup\Module\Di\Code\Reader\ClassesScanner->getList('/var/www/html/a...') #4 /var/www/html/setup/src/Magento/Setup/Module/Di/App/Task/Manager.php(56): Magento\Setup\Module\Di\App\Task\Operation\RepositoryGenerator->doOperation() #5 /var/www/html/setup/src/Magento/Setup/Console/Command/DiCompileCo in /var/www/html/app/code/ADM/QuickDevBar/Block/Tab/Content/Event.php on line 7 In development mode it is not a big deal but extension stopped working which is kind of a problem. Any advise would be welcome!

    Best, K.

    invalid 
    opened by bsdnomad 3
  • Not working on Magento 2.3.3

    Not working on Magento 2.3.3

    After installing the module on Magento 2.3.3 my admin and front pages just show a blank screen. I followed all the recommended steps. Then I disabled and it worked again. Is this supported by this version?

    Thanks

    opened by cayohenrique 3
  • add translations tab

    add translations tab

    We added the following information about translations:

    • Module translations
    • Translation pack
    • Theme translations
    • DB translations

    Where possible, we specify the filename that last loaded that specific translation, so it's very easy to debug issues where you can't seem to translate something.

    opened by danslo 3
  • SQL profiler is not active

    SQL profiler is not active

    Hi, this shows when I'm on the Queries tab:

    SQL profiler is not active You should set a new key for $config array in file app/etc/env.php $config[db][connection][default][profiler] = 1

    Can you please tell me what I need to do to get it working.

    Many thanks.

    needs update 
    opened by stuart-arnold 3
  • 404 on tabs.js

    404 on tabs.js

    Hello. I'm getting a 404 on fetching jquery-ui-modules/tabs.js with the module installed, on Magento 2.4.3-p2. I fiddled with the code around a bit and changing this line to:

            jqueryTabs: ["jquery/ui-modules/tabs", "jquery/jquery-ui"]
    

    Seems to fix it. Maybe the jquery module structure changed around a bit?

    opened by francisco-serfe 1
  • Translation data on non-default port not working

    Translation data on non-default port not working

    When Magento is running on a non default port (:8080) the AJAX request for "quickdevbar/tab/translation/type/module" fails due to a CORS error. This is happening because the AJAX request is made to the default port 80.

    This is sideways linked to using varnish cache (and bypassing it for development purposes) and in no way an issue that hurts me in production, but it would be nice to have fixed. Had a look myself, but I couldn't figure out where this being called from and/or how to fix it.

    opened by vandijkstef 1
  • varnish

    varnish

    HI,

    If I enable IP restriction, then I connect, the page might be cached by varnish, so if another customer acsess the same page, he will see the debug bar right? or do you add some key that make it unique to my cookie or whatever?

    thansks Rod

    enhancement 
    opened by webrod 1
  • Some layout blocks not expandable

    Some layout blocks not expandable

    Environment: Magento 2.4.1 PHP 7.3

    How to reproduce:

    1. Click Quick Development Toolbar
    2. Click Design -> Search for "page.main.title" block
    3. Click on it

    Result: Screen goes a little bit down. Nothing happens.

    Expeted result: To see

    Class: Magento\Theme\Block\Html\Title
    Template: vendor\magento\module-theme\view\frontend\templates\html\title.phtml
    

    https://user-images.githubusercontent.com/1329901/104924481-29766400-59a6-11eb-98d4-3fc225573cfc.mp4

    bug 
    opened by drebroff 0
  • Ip restriction doesn't work

    Ip restriction doesn't work

    Hi, this is a small issue with your extension that make it impossible to use it on a production server.

    How to reproduce: 1- Add your IP to the restriction 2- Flush cache 3- open site on good IP 4- open site on wrong IP Result: The bar will still show for both, good and wrong IP.

    1- Add your IP to the restriction 2- Flush cache 3- open site on wrong IP 4- open site on good IP Result: The bar will not show for both, good and wrong IP.

    I am assuming this is because you cache the result for IP check, so when you refresh the page it's not going to redo the if statement where it looks for the IP.

    Thank you

    enhancement 
    opened by sebashottesimplyphp 1
Releases(0.1.19)
Owner
Vincent Pietri
Vincent Pietri
Extract and evolution of the magento2-currency-precision module from the magento2-jp project from @Magento

Currency Precision Module for Magento 2 This module aims to help merchants to manage easily their currency precision in Magento 2. DISCLAIMER Initiall

OpenGento 3 Dec 17, 2021
Magento2 Turkish Translation / Magento2 Türkçe Çevirisi

Magento 2 Türkçe Dil Paketi Magento2 için Türkçe Dil Paketi Magento2 içinde standart olarak gelen tüm tercüme dosyaları derlenmiş ve bu paket oluşturu

Hidayet Ok 28 Dec 13, 2022
It allows frontend developer to send ajax requests and return a custom information from the server without a php developer help

[Magento 1 Extension] It allows frontend developer to send ajax requests and return a custom information from the server without a php developer help (without any php code).

Vladimir Fishchenko 62 Apr 1, 2022
Magento Chrome Toolbar for MSP_DevTools

Magento Chrome Toolbar for MSP DevTools Magento Chrome Toolbar is a chrome extension to be used with MSP_DevTools for Magento 1 or Magento 2. This ext

MageSpecialist 308 Dec 10, 2022
Docker-magento2 - 🐳 Docker containers with all required Magento 2 dependencies installed available as FPM through Nginx and CLI

Magento 2 Docker A collection of Docker images for running Magento 2 through nginx and on the command line. Quick Start cp composer.env.sample compose

Meanbee 454 Dec 27, 2022
Magento2 + Varnish + PHP7 + Redis + SSL (cluster ready)

Docker Magento2: Varnish + PHP7 + Redis + SSL cluster ready docker-compose infrastructure Infrastructure overview Container 1: MariaDB Container 2: Re

Fabrizio Balliano 332 Dec 30, 2022
Guest to Customer for Magento2 - Quickly and easily convert existing guest checkout customers to registered customers.

Guest to Customer for Magento 2.0 For Magento 2.0.x, 2.1.x, 2.2.x, 2.3.x and 2.4.x In general E-commerce, shoppers do not like to create an account du

MagePal :: Magento Extensions 66 Oct 7, 2022
Magento2 British Language Pack (en_GB)

Links Website: https://github.com/cubewebsites/magento2-language-en-gb What's Up With The Fork? This fork is created from the original for 3 main reas

Ashraf Vali 3 Apr 28, 2021
Magento2 Spanish (Argentina) language pack build from Crowdin community translation tool.

Magento2-language-es_ar Magento2 Spanish (Argentina) language pack build from Crowdin community translation tool. Paquete de idioma de Español (Argent

SemExpert 2 Apr 7, 2021
Magento2 Deployment with Deployer (Skeleton)

MageDeploy2 Base Magento2 Deployment Setup using Robo and Deployer. This is the base project you should base your deployments on. It provides an confi

Matthias Walter 44 Jul 18, 2022
Simple Gulpfile for Magento2

Magento 2 gulpfile Gulp tasks and configuration necessary to setup gulp-based front-end workflow for deploying and watching theme customizations. Requ

Rocket Web FED 18 May 18, 2021
A simple script to convert extensions from Magento1 to Magento2

ConvertM1M2 Background The purpose of this script is to automate as much as possible the initial conversion of a Magento 1 extension, and allow develo

Boris Gurvich 144 Dec 14, 2022
Magento2 Plugin for Conversion Pixel/API of Tiktok

Tiktok Conversion Pixel Analytics Plugin Magento2 Table of Contents About Getting Started About Tiktok Pixel is the Plugin used to track events, which

Rishi Gupta 3 Jun 27, 2022
Interview project for Fullstack Developer.

Interview Project Fullstack Requires PHP: 7.0 WP requires at least: 5.7 WP tested up to: 5.7 WC requires at least: 5.6.0 WC tested up to: 5.8.0 Stable

Universal Yums 1 Oct 27, 2021
Learn to apply best practices as a PHP backend developer

PHP eCommerce Project Here are the things that this repo will cover: Object oriented programming principles and best practices Object oriented session

Muhammad Salah 0 Aug 2, 2022
⚗️ Adds code analysis to Laravel improving developer productivity and code quality.

⚗️ About Larastan Larastan was created by Can Vural and Nuno Maduro, got artwork designed by @Caneco, is maintained by Can Vural, Nuno Maduro, and Vik

Nuno Maduro 4.4k Jan 4, 2023
Resources for the Magento 2 Certified Professional Front End Developer exam

Magento 2 Certified Professional Front End Developer Training Resources Below are the 6 slide decks used internally at Fisheye to help us prepare for

Fisheye Academy 109 Oct 21, 2022
📚Magento 2 Certified Professional Developer Plus Exam

?? Magento2 Certified Professional Developer Plus There are notes for those who preparing to pass Magento 2 Certified Professional Developer Plus exam

Roman Glushko 80 Aug 20, 2022
Preparation notes for Magento 2 Certified Professional Cloud Developer exam

Overview Magento 2 Certified Professional Cloud Developer 1. Topics 13% 1 - Commerce Cloud Fundamentals (8 questions) 9% 2 - Local Environment (6 ques

Magento Notes 78 Dec 26, 2022