A Yii 2 extension providing MongoDB integration with ActiveRecord, Query Builder, and migration support.
Yii2 MongoDB is an official extension that adds MongoDB support to the Yii 2 PHP framework. It provides ActiveRecord pattern implementation for MongoDB documents, a query builder for constructing MongoDB queries, and migration tools for schema management. This allows developers to use MongoDB as a database backend while maintaining Yii's familiar development workflow.
Yii 2 developers who want to use MongoDB as their database backend, particularly those building applications that benefit from document-oriented data storage or need to integrate with existing MongoDB infrastructure.
As an official Yii extension, it offers seamless integration with the framework's ecosystem, including full ActiveRecord support, query building that matches Yii's SQL patterns, and compatibility with Yii's migration system. It's maintained by the Yii core team ensuring reliability and framework compatibility.
Yii 2 MongoDB extension
Maintained by the Yii core team, ensuring seamless compatibility with Yii 2's ecosystem, including configuration and component management as per the README's setup instructions.
Enables using MongoDB documents as ActiveRecord models with validation, relations, and lifecycle events, mirroring Yii's SQL workflow for developer familiarity.
Provides a fluent, chainable interface for building MongoDB queries, similar to Yii's SQL query builder, allowing complex queries without raw MongoDB syntax.
Includes tools for database migrations and GridFS integration, extending Yii's data management capabilities to MongoDB for schema changes and large file storage.
Exclusively designed for Yii 2, making it useless for projects on other PHP frameworks and limiting flexibility if migrating away from Yii.
The README notes known issues with the 'group' command in MongoDB 4.2+, indicating potential gaps in supporting deprecated or evolving MongoDB features.
Requires specific versions of the MongoDB PHP Extension (1.20.1+) and MongoDB server (4.0+), which can complicate deployment and maintenance in diverse environments.
A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)
The Official MongoDB PHP driver
:link: [Deprecated] Adapter to provide ext-mongo interface on top of mongo-php-library
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.