Custom Adminer bundle with:
- Plugin-enabled
index.php(Adminer 5.3.0) - Custom UI/theme styling
- Dark/Light/System theme switcher
- Auto login support using a
.envfile
index.php: Main entrypoint with plugin loader enabledadminer.php: Standalone Adminer file (no custom plugin stack)adminer-plugins.php: Active plugin list and load orderadminer-plugins/: Custom plugin implementations.env: Optional credentials forAutoLogin
- Clone/download this repository.
- Create a local
.envfile in the project root from the example:
cp .env.example .env- Update
.envwith your own database credentials:
USERNAME=your_db_username
PASSWORD=your_db_password- Run a local PHP server from the project root:
php -S 127.0.0.1:8080- Open the plugin-enabled app:
http://127.0.0.1:8080/index.php
AutoLogin reads credentials from .env in the project root.
.env is gitignored; commit only .env.example.
Requirements:
- File name must be exactly
.env - Keys must be exactly
USERNAMEandPASSWORD - One
KEY=valueper line - Do not place
.envinsideadminer-plugins/
If .env is missing, Adminer still works and you can log in manually.
The default plugin stack is configured in adminer-plugins.php:
LoadDependenciesAdminerDatabaseHideAdminerEditTextareaAdminerEnumOptionAdminerEditForeignAdminerTablesFilterAdminerJsonPreviewAdminerCollationsFixedFooterAutoLoginAdminerDarkSwitcher
- Use
index.phpif you want custom plugins and theming. - Opening
adminer.phpdirectly bypasses this custom plugin setup.

