A minimal active record implementation on top of the Doctrine DBAL.