Skip to content
프로젝트

vpietri/magento2-developer-quickdevbar

GitHub에서 보기

소개

Magento2용 개발자 툴바

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Developer Toolbar for Magento2 🚀


Code Climate Total Downloads

Table of Content

Overview

✨ With the vanilla javascript refactoring comes the compatibility with Hyvä and Breeze themes.

🎁 Till compatible with Full page cache and fit coding standard :sparkles: Functionalities like VarDumper are unforced and SQL profiler backtrace is only on demand. See more Changelog .

Requirement

Supported versions: Magento 2.4.x till 2.4.8 but should work with lower version. See composer.json for other requirements.

About

Hope this debug toolbar can speed up Magento2 development module. Any feedback and idea to improve this toolbar will be appreciated :beers: 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.

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, preferences, cache hits
  • 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
  • Dump : Catch all dump() in code, identify inline js script non compliant with CSP
  • Actions : Easily toggle template hints and inline translation and flush cache
  • Translation : Quickly see module, pack,theme and DB translations
  • Help : Show module version and link to github

Screenshots

  • Info tab

  • Queries Tab

  • Profile Tab

  • Theme chooser

Installation

Manual

  • Download zip file of the last 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

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

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

Setup

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

You can force activation via command line

php bin/magento dev:quickdevbar:enable

and activate full sql backtrace

php bin/magento dev:quickdevbar:enable --sql-profiler

Or via the standard configuration in the Advanced/Developer/Quick dev bar section.

If you do not see the toolbar you should either force activation by filling your IP in the field "Allowed IPs" and fill a matching pattern of you user-agent in the field "Allowed user-agent pattern" if it's needed.

URI File to IDE

(Beta) In PhpStorm you can use IDE Remote Control to open file

https://plugins.jetbrains.com/plugin/19991-ide-remote-control

Sponsors

Sansec.io

Add your logo on Github Sponsors

Documentation

  • Changelog
  • You can extend this toolbar with your own tabs, a sample module is available. (refactoring coming soon)

Credits

관련 프로젝트 살펴보기

불러오는 중…