PHP ORM. $person = ORM::for_table('person')->where('name', 'Fred Bloggs')->find_one(); https://github.com/j4mie/idiorm