PHPackages                             zwacky/table-analyzer - 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. [Database &amp; ORM](/categories/database)
4. /
5. zwacky/table-analyzer

ActiveLibrary[Database &amp; ORM](/categories/database)

zwacky/table-analyzer
=====================

Database column analyzer tool for the developer on the go

08PHP

Since May 13Pushed 12y ago1 watchersCompare

[ Source](https://github.com/zwacky/table-analyzer)[ Packagist](https://packagist.org/packages/zwacky/table-analyzer)[ RSS](/packages/zwacky-table-analyzer/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/461eed127787db7a0ff5439e18b61c8cd5e217f4e6374712a9747505267756e5/68747470733a2f2f7472617669732d63692e6f72672f7a7761636b792f7461626c652d616e616c797a65722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/zwacky/table-analyzer)

TableAnalyzer
=============

[](#tableanalyzer)

Database column analyzer tool for the developer on the go.

Usage
-----

[](#usage)

```
   $analyzer = new \Zwacky\TableAnalyzer\TableAnalyzer;
   $columns = $analyzer->getColumns('table_name');
```

returns an array of every column and their types, e.g.:

```
'content' => array(10) {
	'type' => string(4) "text"
	'length' => NULL
	'precision' => int(10)
	'scale' => int(0)
	'unsigned' => bool(false)
	'fixed' => bool(false)
	'notnull' => bool(true)
	'default' => bool(false)
	'autoincrement' => bool(false)
	'comment' => NULL
}

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1093032?v=4)[Simon](/maintainers/zwacky)[@zwacky](https://github.com/zwacky)

---

Top Contributors

[![zwacky](https://avatars.githubusercontent.com/u/1093032?v=4)](https://github.com/zwacky "zwacky (15 commits)")

### Embed Badge

![Health badge](/badges/zwacky-table-analyzer/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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