# jenssegers/laravel-mongodb

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/jenssegers-laravel-mongodb).**

7,075 stars · 1,439 forks · PHP · MIT

## Links

- GitHub: https://github.com/jenssegers/laravel-mongodb
- Homepage: https://www.mongodb.com/docs/drivers/php/laravel-mongodb/
- awesome-repositories: https://awesome-repositories.com/repository/jenssegers-laravel-mongodb.md

## Description

This project is a MongoDB Eloquent ORM and NoSQL query builder for the Laravel framework. It provides an active record implementation that maps MongoDB collections and documents to programmable models for data manipulation.

The system enables schemaless data management, allowing applications to handle dynamic data structures without the need for rigid database migrations or predefined tables. It integrates MongoDB into Laravel applications to store and retrieve flexible document data using standard PHP patterns.

The library covers document store querying and Eloquent model mapping, utilizing a fluent interface to construct and execute database queries without requiring raw query language.

## Tags

### Data & Databases

- [Eloquent ORM Mappings](https://awesome-repositories.com/f/data-databases/object-relational-mappings/code-to-relational-mappings/eloquent-orm-mappings.md) — Implements the Laravel Eloquent active record pattern to manage MongoDB documents as object-oriented models.
- [Data-to-Model Mappers](https://awesome-repositories.com/f/data-databases/data-models/data-to-model-mappers.md) — Transforms raw MongoDB documents into typed model objects using the active record pattern. ([source](https://github.com/jenssegers/laravel-mongodb#readme))
- [Document Database Modeling](https://awesome-repositories.com/f/data-databases/document-database-modeling.md) — Maps MongoDB document structures to an object-oriented model system for seamless data manipulation. ([source](https://github.com/jenssegers/laravel-mongodb#readme))
- [Document Stores](https://awesome-repositories.com/f/data-databases/document-stores.md) — Enables the execution of complex queries against a NoSQL document store using a fluent interface. ([source](https://github.com/jenssegers/laravel-mongodb#readme))
- [Dynamic Schema Storage](https://awesome-repositories.com/f/data-databases/dynamic-schema-storage.md) — Enables the use of unstructured data by mapping arbitrary database fields to model attributes without predefined schemas.
- [Fluent Query Builders](https://awesome-repositories.com/f/data-databases/fluent-query-builders.md) — Provides a chainable, functional interface for programmatically constructing complex MongoDB queries.
- [NoSQL Databases](https://awesome-repositories.com/f/data-databases/nosql-databases.md) — Integrates MongoDB into Laravel applications to store and retrieve flexible, non-relational document data.
- [Active-Record ORMs](https://awesome-repositories.com/f/data-databases/object-relational-mappers/active-record-orms.md) — Uses an active record ORM implementation to map MongoDB collections to programmable models.
- [MongoDB Eloquent Adapters](https://awesome-repositories.com/f/data-databases/object-relational-mappings/code-to-relational-mappings/mongodb-eloquent-adapters.md) — Provides a MongoDB database adapter for the Laravel framework with full Eloquent model and query builder support.
- [Schemaless Data Stores](https://awesome-repositories.com/f/data-databases/schemaless-data-stores.md) — Provides a storage model that allows for dynamic data structures without the need for rigid migrations.
- [Query Translators](https://awesome-repositories.com/f/data-databases/query-translators.md) — Translates standard query builder commands into MongoDB-specific aggregation and filter operations.

### Part of an Awesome List

- [BSON Mappings](https://awesome-repositories.com/f/awesome-lists/devtools/object-mapping/document-mappings/bson-mappings.md) — Converts BSON documents from MongoDB into model instances for typed data handling.
- [Databases and ORMs](https://awesome-repositories.com/f/awesome-lists/data/databases-and-orms.md) — Adds MongoDB support to Eloquent.
