Skip to content

fthiella/adminer-plugin-dump-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

adminer-plugin-dump-markdown

Adminer Plugin: dump to Markdown format

How to use

  1. Download and install Adminer tool.
  2. Download and install plugin.php
  3. Download and install dump-markdown.php
  4. create an index.php like the following:
<?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 = array(
        // specify enabled plugins here
        new AdminerDumpMarkdown,
    );

    /* It is possible to combine customization and plugins:
    class AdminerCustomization extends AdminerPlugin {
    }
    return new AdminerCustomization($plugins);
    */

    return new AdminerPlugin($plugins);
}

// include original Adminer or Adminer Editor
include "./adminer-4.3.1-en.php";
?>

File structure has to be like the following one:

- plugins
    - plugin.php
    - dump-markdown.php
    - ...
- adminer.php
- index.php

About

Adminer Plugin: dump to Markdown format

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages