Download the PHP package fgendorf/php-array-table without Composer
On this page you can find all versions of the php package fgendorf/php-array-table. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-array-table
PHP Array To Text Table
PHP-class, which allows to transform php associative arrays to cool ASCII tables.
Installation
Simply run composer require:
composer require fgendorf/php-array-table
or add to composer.json:
"fgendorf/php-array-table": "1.0"
Usage
<?php use dekor\ArrayToTextTable; $data = [ [ 'id' => 1, 'name' => 'Denis Koronets', 'role' => 'php developer', ], [ 'id' => 2, 'name' => 'Maxim Ambroskin', 'role' => 'java developer', ], [ 'id' => 3, 'name' => 'Andrew Sikorsky', 'role' => 'php developer', ] ]; echo (new ArrayToTextTable($data))->render();
Will draw the next output, compliance with markdown:
| id | name | role | |----|-----------------|----------------| | 1 | Denis Koronets | php developer | | 2 | Maxim Ambroskin | java developer | | 3 | Andrew Sikorsky | php developer |
Made with ❤ by denis
All versions of php-array-table with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package fgendorf/php-array-table contains the following files
Loading the files please wait ....