Registry / cli / pear-console-table

pear-console-table

JSON →
library1.3.1phppackagistunverified

Library that makes it easy to build console style tables.

composer require pear/console_table
INSTALL
IMPORT
SIG · PEAR-CONSOLE-TABLE
P
pear-console-table
cliphpv1.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Console_Table
use Console_Table;

Create a console table with headers and rows.

require_once 'Console/Table.php'; $table = new Console_Table(); $table->setHeaders(['Name', 'Age']); $table->addRow(['John', 30]); echo $table->getTable();
Debug
Known issues
gotchaRequires PEAR installation; not Composer-friendly.
fix
Install via pear install console_table or use a Composer wrapper.
affects: *
Upgrade
Version history
1.3.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources
pear-console-table — pip install pear-console-table · libregistry