Usefull plugins for Adminer database tool.
This project is almost at the end of its life. We switched to 👉 our own Adminer fork 👈 some time ago and now we are moving forward to version 5. This will include a new theme and configuration that will replace adminer-theme and all plugins in adminer-plugins.
Minimal requirements are: PHP 5.6, Adminer 4.4.
Displays constant list of servers in login form. Configuration is similar to the original "login-servers" plugin but – the killer feature – each server can have a different driver!
Displays JSON data as a table.
Displays only one prefered action in table list. Get rid of schizophrenic decisions between selecting data and showing table structure. Optimize your workflow!
Allows to set custom character sets in collation select boxes. No more scrolling through 197 options to find utf8mb4_general_ci!
-
Download and install Adminer tool.
-
Download plugins you want and place them to plugins folder.
File structure will be:
- plugins
- AdminerJsonPreview.php
- ...
- adminer.php
- Create index.php file and configure plugins.
<?php
function adminer_object()
{
// required to run any plugin
include_once "./plugins/plugin.php";
// autoloader
foreach (glob("plugins/*.php") as $filename) {
include_once "./$filename";
}
$plugins = [
// specify enabled plugins here
new AdminerSimpleMenu(),
];
return new AdminerPlugin($plugins);
}
// include original Adminer or Adminer Editor
include "./adminer.php";
Final file structure will be:
- plugins
- AdminerJsonPreview.php
- ...
- plugin.php
- adminer.php
- index.php