zwacky/table-analyzer

There is no license information available for the latest version (dev-master) of this package.

Database column analyzer tool for the developer on the go

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/zwacky/table-analyzer

dev-master 2014-05-13 07:25 UTC

This package is not auto-updated.

Last update: 2025-10-11 20:41:22 UTC


README

Build Status

TableAnalyzer

Database column analyzer tool for the developer on the go.

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
}