MongoDB PHP Library 1.11.0 Released

The PHP team is happy to announce that version 1.11.0 of the MongoDB PHP library is now available.

Release Highlights

This release is compatible with PHP 8.1.0. Several deprecation notices have been addressed.

GridFS stream operations will now throw the underlying exception instead of converting it to a PHP warning, as was done in previous versions of the library.

This release upgrades the mongodb extension requirement to 1.12.0. Support for PHP 7.1 has been removed and the library now requires PHP 7.2 or newer.

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


Documentation for this library may be found at:


This library may be installed or upgraded with:

composer require mongodb/mongodb^1.11.0

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


Thanks to our community contributors for 1.11.0: