PHP Active Record for MySQL -- PHP, AR, ORM, DAO, OMG! It generates models based on your schema and its closure based query processing and ability to handle large datasets make it powerful and flexible.