Database abstraction layer for both information and manipulation schema
Using composer:
{
"require": {
"czogori/rentgen": "dev-master"
}
}
Create sample table
$rentgen = new Rentgen();
$manipulation = $rentgen->createManipulationInstance();
$table = new Table('foo');
$table->addColumn(new StringColumn('bar'));
$table->addColumn(new IntegerColumn('baz', array('not_null' => true)));
$manipulation->create($table);
Get information about foo table
$info = $rentgen->createInfoInstance();
$fooTable = $info->getTable(new Table('foo'));