Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
simple ORM for legacy MySQL databases
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
MyORM
README
inspect.php
static.php
test.php

README

this is a simple, flexible ORM for use w/ MySQL designed to be used w/ legacy databases

example:

$conf['host'] = 'localhost';
$conf['name'] = 'widgetdb';
$conf['user'] = 'widget_user';
$conf['pass'] = 'd6f9e4r+:p';

$db = new MyORM_DB($conf);
$user = new MyORM_DBO($db,'users');
$user->name = 'pkeane';
$user->findOne();

$user->name = 'peter keane';
$user->update();
Something went wrong with that request. Please try again.