A library to display data in a table
This library provides a simple API to display data in a table. It heavily depends on the Symfony Console component to output the data to the console or any other output.
One of the main features is the ability to define the order of the table headers. After that, the order of the row columns is defined by keys. It does not matter in which order you add the fields to the rows, the header row will always define the order.
Add the composer package "programie/phptable" to the required packages of your composer.json:
composer require programie/phptable