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.

License: Apache License

Latest releases

Version Release Download
2.1.4 2025-10-08 mongodb-2.1.4.tgz
2.1.3 2025-10-07 mongodb-2.1.3.tgz
2.1.2 2025-10-02 mongodb-2.1.2.tgz
2.1.1 2025-06-13 mongodb-2.1.1.tgz
2.1.0 2025-05-23 mongodb-2.1.0.tgz
Show all releases

Changelog

Version Message
2.1.4 ## What's Changed
* PHPC-2637: Update to libmongoc 1.30.6 (#1882) by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1887


**Full Changelog**: https://github.com/mongodb/mongo-php-driver/compare/2.1.3...2.1.4
2.1.3 ## What's Changed
* PHPC-2635: Remove serverless URIs from Atlas connectivity tests by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1879
* PHPC-2637: Update to libmongoc 1.30.6 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1882


**Full Changelog**: https://github.com/mongodb/mongo-php-driver/compare/2.1.2...2.1.3
2.1.2 ## What's Changed
* PHPC-2613: Test x509 authentication on Atlas by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1858
* PHPC-2617: Support PHP 8.5 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1871
* Fix wrong PHP version constraint for pie by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1874


**Full Changelog**: https://github.com/mongodb/mongo-php-driver/compare/2.1.1...2.1.2
2.1.1 ## What's Changed
* Ignore branches that are no longer maintained when merging up by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1838
* PHPC-2593: Update libmongoc to 1.30.5 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1841


**Full Changelog**: https://github.com/mongodb/mongo-php-driver/compare/2.1.0...2.1.1
2.1.0 ## What's Changed
* Mention `Serializable` and `Unserializable` types in upgrade guide by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/1805
* Add CODEOWNERS for 1.21+ by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1810
* PHPC-2537 Update to newer Ubuntu version in GitHub Actions workflows by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/1814
* Feature: Client Bulk Write by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/1818
* PHPC-2580: Bump to libmongoc 1.30.4 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1822
* PHPC-2510 Install evergreen tools using git submodule by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/1797
* PHPC-2555: Stop testing with MongoDB 4.0 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1827
* PHPLIB-1678: Use assume_role command before accessing secrets by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1832


**Full Changelog**: https://github.com/mongodb/mongo-php-driver/compare/2.0.0...2.1.0
Show complete changelog