CARVIEW |
mongodb / mongo-php-driver
- Source
- Commits
- Network (5)
- Downloads (39)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage

name | age | message | |
---|---|---|---|
![]() |
.gitignore | Mon Sep 14 11:50:11 -0700 2009 | added err funcs to DB obj [kristina] |
![]() |
README.rdoc | Fri Dec 18 11:31:48 -0800 2009 | specify where tests can be found MINOR [Kristina Chodorow] |
![]() |
bson.c | Wed Mar 31 13:15:17 -0700 2010 | add symbol decode PHP-96 [Kristina Chodorow] |
![]() |
bson.h | Wed Mar 31 13:15:17 -0700 2010 | add symbol decode PHP-96 [Kristina Chodorow] |
![]() |
collection.c | Fri Apr 02 09:15:01 -0700 2010 | propagate CursorException [Kristina Chodorow] |
![]() |
collection.h | Thu Feb 25 13:49:03 -0800 2010 | year update MINOR [Kristina Chodorow] |
![]() |
config.m4 | Mon Dec 14 08:20:11 -0800 2009 | 5.3 API changed arginfo macro [Kristina Chodorow] |
![]() |
config.w32 | Thu Dec 17 07:51:49 -0800 2009 | fix tests for revert MINOR [Kristina Chodorow] |
![]() |
cursor.c | Fri Apr 02 10:35:50 -0700 2010 | windows warnings MINOR [Kristina Chodorow] |
![]() |
cursor.h | Mon Mar 22 09:35:58 -0700 2010 | MongoCursor::fields() PHP-92 [Kristina Chodorow] |
![]() |
db.c | Fri Apr 02 09:15:01 -0700 2010 | propagate CursorException [Kristina Chodorow] |
![]() |
db.h | Thu Feb 25 13:49:03 -0800 2010 | year update MINOR [Kristina Chodorow] |
![]() |
gridfs.c | Mon Mar 15 15:46:50 -0700 2010 | gridfs safe insert [Kristina Chodorow] |
![]() |
gridfs.h | Thu Feb 25 13:49:03 -0800 2010 | year update MINOR [Kristina Chodorow] |
![]() |
mongo.c | Wed Mar 31 13:15:50 -0700 2010 | add timeout to cursor exception msg MINOR [Kristina Chodorow] |
![]() |
mongo_types.c | Tue Mar 09 10:54:40 -0800 2010 | add compare_objects handler to MongoId PHP-90 [Kristina Chodorow] |
![]() |
mongo_types.h | Tue Mar 09 10:54:40 -0800 2010 | add compare_objects handler to MongoId PHP-90 [Kristina Chodorow] |
![]() |
package.xml | Wed Mar 24 07:16:07 -0700 2010 | BUMP 1.0.6 [Kristina Chodorow] |
![]() |
php/ | Thu Feb 11 07:29:15 -0800 2010 | no 3rd param to GridFS ctor [Kristina Chodorow] |
![]() |
php_mongo.h | Fri Apr 02 09:15:01 -0700 2010 | propagate CursorException [Kristina Chodorow] |
![]() |
tests/ | Wed Mar 31 11:52:09 -0700 2010 | skip timeout test MINOR [Kristina Chodorow] |
Installation
To install:
$ phpize $ ./configure $ make $ sudo make install
Then add
extension=mongo.so
to your php.ini file.
See www.mongodb.org/display/DOCS/PHP+Language+Center for information on configuration options.
Documentation
See us.php.net/manual/en/book.mongo.php
Testing
The tests are not available as part of the PECL package, but they are available on Github (www.github.com/mongodb/mongo-php-driver/tree/master/tests). They use PHPUnit, which can be downloaded from www.phpunit.de. To run the tests:
$ phpunit tests/MongoSuite
There must be a mongod instance running on port 27017 in order to run the tests.
The tests will spit out a bunch of warnings if you do not have mongo-php-driver/php on your include path, but it will just skip the tests that require that.
The tests will also attempt to create an admin user using the shell. If "mongo" is not on your path, you will get some output complaining about it.
Credits
Jon Moss
- Came up with the idea and implemented MongoCursor implementing Iterator
Pierre-Alain Joye
- Helped build the Windows extension and has provided the VC6 builds