zwacky / table-analyzer
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
Requires
- doctrine/dbal: ~2.3
- illuminate/support: 4.1.*
Requires (Dev)
- orchestra/testbench: 2.1.*
This package is not auto-updated.
Last update: 2025-10-11 20:41:22 UTC
README
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
}