Website-fabianschieder/adminer
2026-02-28 22:13:17 +01:00
..
_smoke_register.php Add user verification requirement and is_admin field for enhanced security 2026-02-28 22:13:17 +01:00
adminer.css Enhance layout flexibility by adding wrap classes for full and wide views 2026-02-28 22:07:37 +01:00
adminer.php Add initial implementation of mini database management tool with environment configuration and server status monitoring 2026-02-28 19:43:58 +01:00
auth.php Add initial implementation of mini database management tool with environment configuration and server status monitoring 2026-02-28 19:43:58 +01:00
basic_auth.php Add basic authentication for /adminer with configurable credentials 2026-02-28 19:47:37 +01:00
env.php Add initial implementation of mini database management tool with environment configuration and server status monitoring 2026-02-28 19:43:58 +01:00
index.php Add user verification requirement and is_admin field for enhanced security 2026-02-28 22:13:17 +01:00
README.md Implement app-based login for /adminer with user management and session handling 2026-02-28 19:57:07 +01:00
user_auth.php Add user verification requirement and is_admin field for enhanced security 2026-02-28 22:13:17 +01:00
views.php Enhance layout flexibility by adding wrap classes for full and wide views 2026-02-28 22:07:37 +01:00

DB-Verwaltung (Mini-Admin)

Dieses Projekt enthält eine kleine, selbst implementierte DB-Verwaltung unter /adminer.

Schutz / Login

Statt Browser-Basic-Auth gibt es eine eigene Login-Seite.

  • User werden in der Datenbanktabelle adminer_users gespeichert.
  • Passwörter werden gehasht (password_hash).

Initialen User anlegen (Seed)

Setze in deiner lokalen .env (Projekt-Root) einmalig:

  • ADMINER_APP_SEED_USER=...
  • ADMINER_APP_SEED_PASS=...

Beim ersten Aufruf von /adminer wird (falls der User noch nicht existiert) automatisch ein Nutzer angelegt.

Setup

  1. Erstelle eine lokale .env im Projekt-Root (siehe .env.example).
  2. Trage dort deine DB-Zugangsdaten ein (DB_*).

Wichtig: .env wird durch .gitignore ignoriert.

Nutzung

  • Öffne im Browser: /adminer
  • Schritt 1: App-Login
  • Schritt 2: DB-Verbindung testen und Datenbanken laden
  • Schritt 3: In gewünschte Datenbank einloggen

Hinweise

  • Das Tool ist bewusst minimal (Tabellenliste + Browse + einfache SQL-Query).
  • Für produktive Nutzung bitte zusätzlich absichern (z.B. IP-Allowlist, VPN).