/developer_tools

Tools for PrestaShop developer (like display all available display hooks on pages)

Primary LanguagePHP

Developer tools

Make developer experience for Theme and Module developers great again!

Features

Hooks Display

This module enables the display of every hook available in PrestaShop. Activate hook display in performance page.

It works both on Back and Front office. As you can assume this is really useful for every Theme and Module developer, to figure out exactly where and what do we have to override or extend.

Grid dev tools

This feature can be disabled in the Performance page of the Back Office (in Advanced Parameters).

Employee impersonation

This module also enable complete developer tools for the modern grids, see captures.

This feature is only available in the Back Office.

PrestaShop version

This module is available for PrestaShop 1.7.5+.

Some captures

Back Office

Back Office

Grid dev toolbar

Grid Columns collector

Grid Hooks Templating

User selector

Front Office

Front Office

Also, the Legacy Profiler is working as expected (ie like in PrestaShop 1.6) once enabled in performance page :

Welcome Back, Legacy Profiler

Installation

Open a CLI at the root of your shop and type the following instructions (Composer software needs to be installed).

cd modules/developer_tools
composer install
cd ../..
php bin/console pr:mo install developer_tools