Skip to content

Next-generation MongoDB PHP Driver 0.4.0-alpha released

Pre-release
Pre-release
Compare
Choose a tag to compare
@bjori bjori released this 10 Apr 21:35

The PHP team is happy to announce that version 0.4.0-alpha of our new "mongodb" PHP extension is now available on PECL.

Release Highlights

New features and changes:

  • PHPC-194: Add MongoDB\Driver\Manager->selectServer()
  • PHPC-208: Use fixed fieldname for the Object Document Serializer ("__pclass")
  • PHPC-223: Use explicit driverOptions rather then Stream Context Options
  • PHPC-224: Consolidate Result and Cursor into a single, Traversable Cursor class

Fixes:

Documentation

Documentation is available on PHP.net:
http://php.net/set.mongodb

Additional documentation may be found on GitHub:
http://10gen-labs.github.io/mongo-php-driver-prototype/ods/

Feedback

As the "mongodb" extension is under heavy development, we would appreciate any feedback you might have on the project:
https://jira.mongodb.org/secure/CreateIssue.jspa?pid=12484&issuetype=6

Full Release Notes

https://github.com/10gen-labs/mongo-php-driver-prototype/blob/master/RELEASE-0.4.0

Installing on *nix

$ pecl install mongodb-alpha
$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

Installing on Windows

Windows binaries are available on PECL:
http://pecl.php.net/package/mongodb

Community Contributors

Thanks to:

  • Remi Collet