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. [CLI &amp; Console](/categories/cli)
4. /
5. snufkin/console-table

ActiveLibrary[CLI &amp; Console](/categories/cli)

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 yesterday

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

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

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

4817d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/188910?v=4)[Balazs Dianiska](/maintainers/snufkin)[@snufkin](https://github.com/snufkin)

---

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)")

---

Tags

console

### 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)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B13.2k](/packages/symfony-console)[psy/psysh

An interactive shell for modern PHP.

9.8k569.8M787](/packages/psy-psysh)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.7k348.7M10.5k](/packages/nunomaduro-collision)[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k260.6M360](/packages/nunomaduro-termwind)[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k11.4M471](/packages/nunomaduro-phpinsights)[wp-cli/php-cli-tools

Console utilities for PHP

68327.0M374](/packages/wp-cli-php-cli-tools)

PHPackages © 2026

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