alcaeus/mongo-php-adapter
Compatibility layer that lets legacy PHP MongoDB drivers (ext-mongo) work with the newer mongodb extension and library. Helps modernize apps with minimal code changes by translating old APIs to the current MongoDB PHP driver.
ext-mongo (PHP's legacy MongoDB driver) to the modern mongodb/mongodb library without rewriting core logic, reducing technical debt. Updated: PHP 8.2 compatibility ensures alignment with modern PHP ecosystems, extending the adapter’s viability for teams still using ext-mongo in newer PHP environments.ext-mongo (deprecated since PHP 7.4) and cannot immediately migrate to mongodb/mongodb. Updated: Now explicitly supports PHP 8.2, making it viable for teams running modern PHP versions with legacy MongoDB dependencies.mongodb/mongodb (no need for an adapter).Executives:
"This updated adapter now supports PHP 8.2, letting us modernize our MongoDB backend without disrupting live services—even as we upgrade our PHP infrastructure. By bridging the old ext-mongo driver to the new standard, we avoid costly rewrites while reducing technical debt, saving [X] developer months and [Y]% in infrastructure costs. Recent fixes (e.g., regression patches) improve stability, making it a low-risk, high-reward step toward a future-proof stack. Critical note: We’ll treat this as a temporary measure and budget for a full migration within [Z] years."
Engineering:
*"The 1.2.5 release of alcaeus/mongo-php-adapter now includes:
Recommendation:
ext-mongo systems where full refactoring is blocked.mongodb/mongodb driver."How can I help you explore Laravel packages today?