{"id":43032765,"url":"https://github.com/fthiella/adminer-plugin-dump-markdown","last_synced_at":"2026-01-31T08:07:47.372Z","repository":{"id":90178235,"uuid":"98535875","full_name":"fthiella/adminer-plugin-dump-markdown","owner":"fthiella","description":"Adminer Plugin: dump to Markdown format","archived":false,"fork":false,"pushed_at":"2025-05-06T20:55:34.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T21:39:24.183Z","etag":null,"topics":["adminer-plugin","markdown","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fthiella.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-07-27T12:57:13.000Z","updated_at":"2025-05-06T20:55:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"855f3a32-dac1-456c-ad2c-e84bfcee83c8","html_url":"https://github.com/fthiella/adminer-plugin-dump-markdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fthiella/adminer-plugin-dump-markdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fthiella%2Fadminer-plugin-dump-markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fthiella%2Fadminer-plugin-dump-markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fthiella%2Fadminer-plugin-dump-markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fthiella%2Fadminer-plugin-dump-markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fthiella","download_url":"https://codeload.github.com/fthiella/adminer-plugin-dump-markdown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fthiella%2Fadminer-plugin-dump-markdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28934675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T07:49:44.436Z","status":"ssl_error","status_checked_at":"2026-01-31T07:49:34.274Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adminer-plugin","markdown","php"],"created_at":"2026-01-31T08:07:47.245Z","updated_at":"2026-01-31T08:07:47.365Z","avatar_url":"https://github.com/fthiella.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# adminer-plugin-dump-markdown\n\nThis plugin enhances Adminer by adding a \"Markdown\" export format, allowing you\nto dump database structure and data into Markdown-formatted text files (`.md`).\n\n## Installation\n\n1. [Download](https://www.adminer.org/#download) and install Adminer tool.\n2. [Download](https://raw.github.com/vrana/adminer/master/plugins/plugin.php) and install plugin.php\n3. [Download](https://github.com/fthiella/adminer-plugin-dump-markdown/blob/master/dump-markdown.php) and install dump-markdown.php\n4. create an index.php like the following:\n\n```php\n\u003c?php\nfunction adminer_object() {\n    // required to run any plugin\n    include_once \"./plugins/plugin.php\";\n\n    // autoloader\n    foreach (glob(\"plugins/*.php\") as $filename) {\n        include_once \"./$filename\";\n    }\n\n    $plugins = array(\n        // specify enabled plugins here\n        new AdminerDumpMarkdown([\n              // optional parameters\n              'rowSampleLimit' =\u003e 50,\n              'nullValue' =\u003e '(null)',\n              'disableUTF8' =\u003e False,\n              'specialChars' =\u003e '\\\\*_[](){}+-#.!|',\n              'markdown_chr' =\u003e ['space'  =\u003e ' ', 'table'  =\u003e '|', 'header' =\u003e '-']\n            ]),\n    );\n\n    /* It is possible to combine customization and plugins:\n    class AdminerCustomization extends AdminerPlugin {\n    }\n    return new AdminerCustomization($plugins);\n    */\n\n    return new AdminerPlugin($plugins);\n}\n\n// include original Adminer or Adminer Editor\ninclude \"./adminer-4.3.1-en.php\";\n?\u003e\n```\n\nFile structure has to be like the following one:\n```\n- plugins\n    - plugin.php\n    - dump-markdown.php\n    - ...\n- adminer.php\n- index.php\n```\n\n## Configuration Options\n\nThe `adminer-plugin-dump-markdown` plugin can be configured using optional parameters passed\nto the `AdminerDumpMarkdown` class constructor in your `index.php` file:\n\n```php\nnew AdminerDumpMarkdown([\n    // Configuration options here\n]);\n```\n\nThe following configuration options are available:\n\n### rowSampleLimit (integer, optional, default: 100):\n\nSpecifies the maximum number of rows to sample from each table when determining column widths for Markdown table formatting.\n\n### nullValue (string, optional, default: \"N/D\"):\n\nDefines the string to be used in the Markdown output to represent NULL database values.\n\n### specialChars (string, optional, default: \"\\\\\\*\\_\\[\\]\\(\\)\\{\\}\\+\\-\\#\\.\\!\\|\")\n\nDefines the set of special Markdown characters that will be escaped with a backslash (\\\\) in the output.\n\n### markdown_chr (array, optional, default: ['space' =\u003e ' ', 'table' =\u003e '|', 'header' =\u003e '-']):\n\nAllows you to customize the characters used for Markdown table formatting:\n\n- `'space'`: padding within table cells (default: space ).\n- `'table'`: table column separators (default: vertical bar \\|).\n- `'header'`: table header separator line (default: hyphen -).\n\n### disableUTF8 (boolean, optional, default: False):\n\n- `disableUTF8: False` (Default - Recommended): the plugin handles UTF-8 encoded data correctly, if the mbstring PHP extension is available\n- `disableUTF8: True`  When set to true, the plugin performs a lossy conversion of UTF-8 text data to ISO-8859-1 encoding\n\n## Notes\n\nIf the PHP mbstring extension is not enabled on your server,\nthe plugin will automatically fall back to byte-based string operations for core functionality.\nIt is recommended to enable the mbstring extension in your PHP configuration for better UTF-8 support.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffthiella%2Fadminer-plugin-dump-markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffthiella%2Fadminer-plugin-dump-markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffthiella%2Fadminer-plugin-dump-markdown/lists"}