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 3d 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 14% 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://www.gravatar.com/avatar/8326721ec686c87c46b2060884844ae9d26eb36ed080a91c5a0269ca16394ab4?d=identicon)[zwacky](/maintainers/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

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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