Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Officially supported PHP driver for MongoDB
PHP C Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
php/Mongo
tests
.cvsignore
.gitignore
README
README.rdoc
bson.c
bson.h
collection.c
collection.h
config.m4
config.w32
cursor.c
cursor.h
db.c
db.h
gridfs.c
gridfs.h
mongo.c
mongo.h
mongo_types.c
mongo_types.h
package.xml
util.c

README.rdoc

Installation

To install:

$ phpize
$ ./configure
$ make
$ sudo make install

See www.mongodb.org/display/DOCS/PHP+Language+Center for information on configuration options and API documentation.

This extension is designed to be wrapped by the PHP code that can be downloaded at github.com/mongodb/mongo-php-driver/tree/master. Add $DOWNLOAD_DIR/mongo-php-driver/php to your include path in php.ini.

Testing

To run the tests:

$ cd tests/
$ phpunit MongoSuite

You can get information about installing and setting up phpunit at www.phpunit.de/.

Credits

Jon Moss (XirisR@gmail.com)

  • Came up with the idea and implemented MongoCursor implementing Iterator

Something went wrong with that request. Please try again.