MongoDB PHP Library 1.6.1 Released

The PHP team is happy to announce that version 1.6.1 of the MongoDB PHP library is now available. This library is a high-level abstraction for the mongodb extension.

Release Highlights

This release fixes a bug where the Database::command() helper incorrectly inherited a read preference from the database.

A complete list of resolved issues in this release may be found at:


Documentation for this library may be found at:


If you encounter any bugs or issues with this library, please report them via this form:


This library may be installed or upgraded with:

composer require mongodb/mongodb^1.6.1

Installation instructions for the mongodb extension may be found in the documentation.