MongoModel is a project mainly written in PHP, it's free.
Simple PHP wrapper classes for treating simple objects as MongoDB documents.
MongoModel is a simple set of object wrappers classes for storing PHP objects in MongoDB.
MongoModel is comprised of two major classes (in the lib directory).
class User extends MongoEntity {
protected static $_mongo_database = "users"; # Effectively the database name
protected static $_mongo_collection = "user"; # Effectively the table name
}
This allows you to store objects in the 'users' database and the 'user' collection.
$user = new User();
$user_data = array("first_name" => "Gates", "last_name" => "VP");
$user = new User($user_data);
if($user->save()){
print("saved the user");
}
....
More details to come.