PrestaShop Administration & Productivity

Database Manager Back Office — Adminer for PrestaShop 8 & 9

Manage your PrestaShop database directly from the back office — Adminer 5.4.2 integrated, auto-login, SuperAdmin only

dfdbmanager integrates Adminer 5.4.2 (the modern and lightweight alternative to phpMyAdmin) directly into the PrestaShop 8 and 9 back office. Auto-login with the shop credentials, access restricted to the SuperAdmin profile, BO return banner in one click. No more opening phpMyAdmin via cPanel, no more re-entering credentials, no more switching between tabs: one click in the Advanced Parameters menu and you manage your database.

PrestaShop 8 & 9 Adminer 5.4.2 bundled PS Auto-login SuperAdmin only No phpMyAdmin FR/EN/ES/DE/IT
  • 30-day refund
  • 12 months updates
  • 24h support
www.datafirefly.com/en/
Database Manager Back Office — Adminer for PrestaShop 8 & 9
v1.0.0 · updated 2026-05-25
What it does

The short version.

01

Adminer 5.4.2 delivered in the module — nothing to download

The latest stable version of Adminer (508 KB, single file) is bundled directly into the ZIP. No separate download from adminer.org, no outgoing HTTPS connection required on your server. You install the module and open it: Adminer works.

02

Auto-login with PrestaShop credentials

No Adminer login screen to go through. The module pre-populates the Adminer session with database credentials (_DB_SERVER_, _DB_USER_, _DB_PASSWD_, _DB_NAME_) read from PrestaShop configuration. One click in the BO menu and you're straight on your shop's table list.

03

Access restricted to SuperAdmin profile

Double check of the logged-in employee (id_profile === 1) server-side, in postProcess and initContent. No other profile (Logistician, Translator, Salesman, etc.) can access Adminer, even if they know the URL. The adminer.php file is also blocked from direct HTTP access via .htaccess.

04

Always-visible BO return banner

A fixed top bar (DataFirefly dark navy, max z-index) with the database name on the left and a blue Back to PrestaShop BO button on the right. Always visible during Adminer navigation, works in light and dark mode via prefers-color-scheme media query.

05

Compatible with PrestaShop 8 and 9 without configuration

Legacy ModuleAdminController that works on both versions. checkToken override to bypass PS CSRF on Adminer internal actions (SuperAdmin gate is strictly stronger). Automatic Adminer URL rewriting via ob_start callback to route all requests (links, forms, CSS, JS) through our controller.

06

Unencrypted source code, auditable

Module entirely in clear text, DataFirefly namespace, standard PrestaShop architecture with PSR-4. You can audit security, extend hooks, or adapt behavior (for example add other authorized profiles). Adminer itself is Apache 2.0 / GPL 2.0, source code in the ZIP.

The long version

Everything you'd want to know before you install.

A detailed look at how Database Manager Back Office — Adminer for PrestaShop 8 & 9 works, why we built it the way we did, and the thinking behind the features above.

§ 01

Why integrate Adminer into the back office

When you need to debug a PrestaShop order, check a value in a cms_lang table, run an ad-hoc SQL query, or browse ps_configuration content, the usual procedure is: open cPanel or your hosting panel, launch phpMyAdmin, re-enter your credentials, navigate to the right database. This flow breaks your concentration and multiplies errors (wrong database selected, wrong tab, forgotten credentials). dfdbmanager replaces these six steps with one: a click in the PrestaShop Advanced Parameters > Adminer menu. You land directly on your shop's table list, already authenticated.

§ 02

Adminer rather than phpMyAdmin

Adminer is the modern and lightweight alternative to phpMyAdmin, created by Jakub Vrana and used by thousands of developers and agencies. A single 508 KB PHP file (vs ~50 MB for phpMyAdmin), cleaner faster interface, native support for MySQL/PostgreSQL/SQLite/MS-SQL/Oracle. For PrestaShop specifically: inline row editing, chunked SQL export, full-text search in tables, multi-line SQL query execution with history, schema modification directly from the UI. The shipped adminer.php file is the latest stable version (5.4.2), Apache 2.0 / GPL 2.0, source code included.

§ 03

Auto-login: no password to re-enter

The module loader starts the Adminer session (adminer_sid) server-side and pre-populates it with credentials read from PrestaShop configuration. When Adminer starts, it sees an already valid session and goes straight to the database interface. No Authentication screen, no field to fill, no token to copy. If you have multiple SuperAdmin employees, each has their own Adminer session (PHP sessions are per browser cookie), but all connect to the same PrestaShop database with the same system credentials.

§ 04

Security: SuperAdmin only, double-check gate

Adminer is a powerful tool — whoever has access to your database has access to everything: orders, customers, payments, hashed employee passwords. The module restricts access to the SuperAdmin profile only (id_profile = 1 in PrestaShop), with verification in postProcess (before execution) and in initContent (UI rendering). A Logistician, a Translator, a Salesman — none will have access, even if they know the Adminer URL. The adminer.php file itself is blocked from direct HTTP access via a .htaccess Require all denied, so it's impossible to reach it bypassing PrestaShop. The MySQL connection uses PrestaShop's existing credentials: no new password created, no privilege escalation on the database side.

§ 05

Compatible with PrestaShop 8 and 9, same architecture

The module uses a legacy ModuleAdminController, supported by both major PrestaShop versions. The configuration page uses Smarty, the menu tab is installed via Tab class (with Material storage icon), the hooks used are 100% standard. On PrestaShop 9, the module works without modification, without recompilation, without adding Symfony classes. Compatible with PHP 7.4 through 8.3, MySQL 5.7+ and MariaDB 10.3+. Tested on o2switch, OVH, and Infomaniak shared hosting.

§ 06

Return banner, dark mode, continuous navigation

A fixed top bar (dark navy #0f172a, blue border #3b82f6, max int z-index) stays visible throughout Adminer navigation. On the left: DataFirefly Adminer and the current database name. On the right: a blue Back to PrestaShop BO button that brings you back to Advanced Parameters in one click. The banner automatically adapts to the system dark mode via @media (prefers-color-scheme: dark) with a deeper color (#020617) and a bright blue border (#60a5fa) to stay readable. Adminer's internal URLs (table links, forms, CSS and JS files) are all rewritten in post-processing to pass through our controller — no accidental disconnection if you click an Adminer link.

§ 07

Who it's for

For PrestaShop developers who debug daily and want a shortcut to the database. For agencies maintaining multiple client shops who prefer an integrated tool over a cPanel per site. For technical merchants who want to see their raw data without depending on their host. For freelancers on missions who don't have access to the client's hosting panel but have a PrestaShop SuperAdmin account. For everyone tired of re-entering their phpMyAdmin credentials three times a day.

§ 08

Technical architecture

The AdminDfAdminerController controller overrides checkToken() to bypass PrestaShop CSRF on Adminer internal actions (Adminer's POST forms don't carry the PS token — the upstream SuperAdmin gate is strictly stronger as protection). In renderAdminer(), ob_start is called with a callback that post-processes Adminer's output: injecting the BO return banner and rewriting all href/action/src URLs that point to index.php?... to inject controller=AdminDfAdminer. The callback survives the 19 exit; calls Adminer makes at various points (page_footer, file= serving, etc.) — unlike a plain ob_get_clean which would be skipped. The loader pre-populates $_SESSION[pwds] with the real password and $_SESSION[db] with true, which is enough for Adminer to skip its form and go straight to connect.