PHPackages                             kba-team/markdown-table - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kba-team/markdown-table

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kba-team/markdown-table
=======================

Create a markdown table string from an associative array.

v1.1.2(4y ago)567.3k—7%3[1 issues](https://github.com/the-kbA-team/markdown-table/issues)MITPHPPHP ^7.1||^8.0CI failing

Since Jun 14Pushed 4y ago3 watchersCompare

[ Source](https://github.com/the-kbA-team/markdown-table)[ Packagist](https://packagist.org/packages/kba-team/markdown-table)[ RSS](/packages/kba-team-markdown-table/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (9)Used By (0)

markdown-table
==============

[](#markdown-table)

[![License: MIT](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![PHP Composer & PHPUnit](https://github.com/the-kbA-team/markdown-table/actions/workflows/php.yml/badge.svg)](https://github.com/the-kbA-team/markdown-table/actions/workflows/php.yml)[![Maintainability](https://camo.githubusercontent.com/a00380b35fc9b1ae64e62ff33066bed590f51f4d6cc8fe1c00d7334d8b89b36b/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65663235343265393836666461343566373138662f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/the-kbA-team/markdown-table/maintainability)[![Test Coverage](https://camo.githubusercontent.com/d47e15f168133bedf3082813ee956d9489c373371f910dcdfaa8f701a41ba045/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65663235343265393836666461343566373138662f746573745f636f766572616765)](https://codeclimate.com/github/the-kbA-team/markdown-table/test_coverage)

Create a [Markdown](https://daringfireball.net/projects/markdown/ "Markdown is a text-to-HTML conversion tool for web writers.") table containing your data.

Install
-------

[](#install)

```
composer require kba-team/markdown-table

```

Usage
-----

[](#usage)

A simple example:

```
