The php-prototyper is a small framework that can be used to easily persist objects to a mysql database.