Active Record implementation of Mongo adapter on PHP