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
dev-master
2014-05-13 07:25 UTC
Requires
- doctrine/dbal: ~2.3
- illuminate/support: 4.1.*
Requires (Dev)
- orchestra/testbench: 2.1.*
This package is not auto-updated.
Last update: 2024-04-27 13:20:37 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
}