PHPackages                             snufkin/console-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. snufkin/console-table

ActiveLibrary

snufkin/console-table
=====================

A table generator class for the PHP CLI.

1.0(13y ago)014BSDPHPPHP &gt;=5.3.0

Since Apr 22Pushed 9y agoCompare

[ Source](https://github.com/snufkin/ConsoleTable)[ Packagist](https://packagist.org/packages/snufkin/console-table)[ RSS](/packages/snufkin-console-table/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Install
=======

[](#install)

1. Install composer
2. Run `composer require snufkin/ConsoleTable`
3. Profit!

Usage
=====

[](#usage)

```
$table = new \Console\Helper\ConsoleTable();
$table->setHeaders(['Column 1', 'Column 2']);
$table->addRow(['data 1', 'data 2']);
$table->addRow(['data 3', 'data 4']);
$table->addRow(['data 5', 'data 6']);
echo $table->getTable();
```

Customisations
==============

[](#customisations)

By default all columns are aligned left. To change the alignment use the `0` as the first parameter in the constructor:

```
$table = new \Console\Helper\ConsoleTable(0);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4767d ago

### Community

---

Top Contributors

[![elkuku](https://avatars.githubusercontent.com/u/33978?v=4)](https://github.com/elkuku "elkuku (7 commits)")[![snufkin](https://avatars.githubusercontent.com/u/188910?v=4)](https://github.com/snufkin "snufkin (5 commits)")[![cmuench](https://avatars.githubusercontent.com/u/211294?v=4)](https://github.com/cmuench "cmuench (1 commits)")

### Embed Badge

![Health badge](/badges/snufkin-console-table/health.svg)

```
[![Health](https://phpackages.com/badges/snufkin-console-table/health.svg)](https://phpackages.com/packages/snufkin-console-table)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
