PHPackages                             fgendorf/php-array-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. fgendorf/php-array-table

ActiveLibrary

fgendorf/php-array-table
========================

PHP Library for printing associative arrays as text table (similar to mysql terminal console) with compatibility with markdown

v1.0.1(3y ago)025BSD-3-ClausePHPPHP &gt;=5.4.0

Since Aug 17Pushed 3y agoCompare

[ Source](https://github.com/fgendorf/php-array-table)[ Packagist](https://packagist.org/packages/fgendorf/php-array-table)[ RSS](/packages/fgendorf-php-array-table/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

PHP Array To Text Table
=======================

[](#php-array-to-text-table)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d1e8d1269da6a592a228111f17cf2036b38af3e88100fdbe2ca4f6d826254fb1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64656e69736b6f726f6e6574732f7068702d61727261792d7461626c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/deniskoronets/php-array-table/?branch=master) [![Build Status](https://camo.githubusercontent.com/bc1f792ecb60449ee91b3fcb069013f0d357696b4d11233d1262c3149c3a9558/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64656e69736b6f726f6e6574732f7068702d61727261792d7461626c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/deniskoronets/php-array-table/build-status/master)

PHP-class, which allows to transform php associative arrays to cool ASCII tables.

Installation
------------

[](#installation)

Simply run composer require:

```
composer require fgendorf/php-array-table
```

or add to composer.json:

```
"fgendorf/php-array-table": "1.0"
```

Usage
-----

[](#usage)

```
