MongoDB PHP Library 1.8.0-RC1 Released

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

Release Highlights

This release makes the library compatible with PHP 8.

With this release, errors that occur while copying GridFS stream contents will now cause an exception instead of relying on a PHP Warning being emitted.

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.8.0-RC1

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