mongodb

MongoDB driver for PHP


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.

Windows builds are attached to GitHub releases: https://github.com/mongodb/mongo-php-driver/releases

License: Apache License

Latest releases

Version Release Download
1.18.1 2024-04-12 mongodb-1.18.1.tgz
1.18.0 2024-03-27 mongodb-1.18.0.tgz
1.17.3 2024-03-15 mongodb-1.17.3.tgz
1.17.2 2023-12-20 mongodb-1.17.2.tgz
1.17.1 2023-12-05 mongodb-1.17.1.tgz
Show all releases

Changelog

Version Message
1.18.1 ** Task
* [PHPC-2369] - Upgrade libmongoc to 1.26.2
1.18.0 ** Task
* [PHPC-1956] - Remove disabled __wakeup function for classes that disable serialization
* [PHPC-2320] - Remove empty string key replacement logic in json_canonicalize()
* [PHPC-2358] - Upgrade libmongocrypt to 1.9.0
* [PHPC-2360] - Upgrade libmongoc to 1.26.0
* [PHPC-2363] - Upgrade libmongocrypt to 1.9.1
* [PHPC-2364] - Upgrade libmongoc to 1.26.1
* [PHPC-2366] - Invoke all Drivers Evergreen Tools Scripts with Bash
1.17.3 ** Task
* [PHPC-2339] - Upgrade libmongoc to 1.25.4
* [PHPC-2340] - Upgrade libmongocrypt to 1.8.4
1.17.2 ** Bug
* [PHPC-2337] - Performance degradation in 1.17 due to trace logging

** Task
* [PHPC-2335] - Replace usage of hub with gh in GitHub Action workflows
1.17.1 ** Bug
* [PHPC-2325] - Null coalesce operator doesn't silence exception when accessing non-existent BSON field
* [PHPC-2328] - Wrong parameter names for BSON classes implementing ArrayAccess
* [PHPC-2332] - Fix bson_strerror_r compatibility for AIX

** Task
* [PHPC-2322] - Remove ICU and add SRV to phpinfo() output
* [PHPC-2334] - Upgrade libmongoc to 1.25.2
Show complete changelog