Login  |  Packages  |  Support  |  Bugs
PECL is deprecated.

Have you heard about PIE? 🥧 PHP Installer for Extensions (PIE) is the replacement for PECL. We recommend publishing your extension using PIE instead.

Find out more at https://github.com/php/pie.

Top Level :: Database :: mongodb :: 2.4.0

mongodb 2.4.0

Package Information
Summary MongoDB driver for PHP
Maintainers Pauline Vos (lead) [details]
Jérôme Tamarelle (lead) [details]
Kevin Albertson (lead) [details]
Katherine Walker (developer) [inactive] [details]
Hannes Magnusson (lead) [inactive] [details]
Jeremy Mikola (lead) [inactive] [details]
Derick Rethans (lead) [inactive] [wishlist] [details]
Andreas Braun (lead) [inactive] [details]
License Apache License
Description The purpose of this driver is to provide exceptionally thin glue between MongoDB
and PHP, implementing only fundamental and performance-critical components
necessary to build a fully-functional MongoDB driver.
Homepage https://www.mongodb.com/docs/drivers/php-drivers/
Release notes
Version 2.4.0
(stable)
<!-- Release notes generated using configuration in .github/release.yml at 2.4.0 -->

## What's Changed
* PHPC-1627 Support object cloning for ReadConcern, ReadPreference, and WriteConcern by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2002
* Update release instructions by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/2001
* Merge v2.3 into v2.x by @mongodb-drivers-pr-bot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2006
* Fix ZVAL_STATIC_INIT macro formatting for clang-format compatibility by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2009
* Replace XtOffsetOf() with offsetof() for PHP 8.6 by @andypost in https://github.com/mongodb/mongo-php-driver/pull/2008
* Merge v2.3 into v2.x by @mongodb-drivers-pr-bot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2013
* Merge v2.3 into v2.x by @mongodb-drivers-pr-bot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2015
* Merge v2.3 into v2.x by @mongodb-drivers-pr-bot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2018
* Merge v2.3 into v2.x by @mongodb-drivers-pr-bot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2019
* Merge v2.3 into v2.x by @mongodb-drivers-pr-bot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2023
* PHPC-2721: Test PECL package installation on Alpine Linux by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2024
* Merge v2.3 into v2.x by @mongodb-drivers-pr-bot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2026
* Bump tests/drivers-evergreen-tools from `4b02eb0` to `30b3f00` by @dependabot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2028
* PHPC-2708: Automatically create new minor version branch on release by @paulinevos in https://github.com/mongodb/mongo-php-driver/pull/2027
* PHPC-2724: Bump libmongocrypt to 1.19.0 by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2029
* Bump tests/drivers-evergreen-tools from `30b3f00` to `9c21ebe` by @dependabot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2031
* Bump tests/drivers-evergreen-tools from `9c21ebe` to `da0f173` by @dependabot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2032
* Bump actions/checkout from 6 to 7 by @dependabot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2030
* PHPC-2729: Bump libmongocrypt to 1.20.0 by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2035
* PHPC-2731: Pin libmongocrypt runtime and dev packages in lockstep by @paulinevos in https://github.com/mongodb/mongo-php-driver/pull/2038
* Bump tests/drivers-evergreen-tools from `b0aded0` to `18aed4f` by @dependabot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2036
* Bump actions/setup-python from 6 to 7 by @dependabot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2037
* Bump tests/drivers-evergreen-tools from `18aed4f` to `3741fa9` by @dependabot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2040
* DEVPROD-34208: use Silkbomb image from ECR instead of Artifactory by @fetsko in https://github.com/mongodb/mongo-php-driver/pull/2039
* PHPC-2738: Escape release notes when generating package.xml by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2041
* Bump tests/drivers-evergreen-tools from `3741fa9` to `e86753e` by @dependabot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2043
* PHPC-2728: Add `stringOpts` support and bump libmongoc 2.4.0 by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2033
* PHPC-2708: Update release docs and add version-transition reminders by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2045
* Bump github/codeql-action from 4 to 4.37.4 by @dependabot[bot] in https://github.com/mongodb/mongo-php-driver/pull/2044
* Update maintainers: add Kevin Albertson, mark Andreas Braun inactive by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2042

## New Contributors
* @andypost made their first contribution in https://github.com/mongodb/mongo-php-driver/pull/2008
* @fetsko made their first contribution in https://github.com/mongodb/mongo-php-driver/pull/2039

**Full Changelog**: https://github.com/mongodb/mongo-php-driver/compare/2.3.3...2.4.0

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ] [ View Documentation ]

Dependencies for release 2.4.0
PHP Version: PHP version 8.99.99 or older
PHP Version: PHP 8.1.0 or newer
PEAR Package: PEAR 1.4.8 or newer
PRIVACY POLICY  |  CREDITS
Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 13:08:36 2026 UTC
Bandwidth and hardware provided by: pair Networks