Database abstraction layer for information and manipulation schema

v0.9.1 2013-12-07 07:46 UTC

This package is not auto-updated.

Last update: 2021-09-17 00:41:43 UTC


Build Status Latest Stable Version Scrutinizer Code Quality

Database abstraction layer for both information and manipulation schema


Using composer:

    "require": {        
        "czogori/rentgen": "dev-master"

Basic usage

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)));

Get information about foo table

$info = $rentgen->createInfoInstance();
$fooTable = $info->getTable(new Table('foo'));