awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mongodb avatar

mongodb/laravel-mongodb

0
View on GitHub↗
7,075 stars·1,439 forks·PHP·MIT·34 viewswww.mongodb.com/docs/drivers/php/laravel-mongodb↗

Laravel Mongodb

This project is a MongoDB database driver and object-relational mapper that brings MongoDB support to the Laravel Eloquent model and query builder. It provides a NoSQL model mapper that allows MongoDB collections to be mapped to object-oriented models using the Active Record pattern.

The integration enables the use of a fluent query builder for constructing queries and aggregation pipelines without writing raw database syntax. It supports schema-less model integration, allowing applications to manage unstructured data while maintaining compatibility with standard object-oriented patterns.

The library covers a broad range of document database capabilities, including geospatial querying, atomic field updates, and document array manipulation. It includes tools for database management such as index configuration, transaction management, and soft deletions, as well as a backend implementation for managing job queues and failure logs.

The system also provides specialized base classes for identity management and user authentication using a MongoDB backend.

Features

  • Fluent Query Builders - Provides a chainable, fluent interface for constructing MongoDB queries without writing raw syntax.
  • NoSQL Databases - Integrates Laravel with MongoDB to store and manage unstructured data using a flexible, non-relational schema.
  • BSON Mappings - Provides a translation layer that maps BSON document fields to PHP model properties.
  • Data-to-Model Mappers - Links MongoDB collections to model classes to define primary keys and connection overrides.
  • Active Record Mappers - Maps MongoDB collections to object-oriented models using the Active Record pattern.
  • Document Database Modeling - Maps application data structures to MongoDB documents using the Active Record pattern.
  • MongoDB Database Drivers - Provides the underlying driver for integrating MongoDB as a primary or secondary data store in PHP.
  • Active-Record ORMs - Implements the Active Record pattern to map MongoDB documents to object-oriented model instances.
  • MongoDB Eloquent Adapters - Implements an adapter that brings the Laravel Eloquent ORM and query builder to MongoDB.
  • Schema-Less Model Integrations - Enables models to operate without predefined tables while maintaining compatibility with the Eloquent ORM.
  • Atomic Field Operators - Provides support for native MongoDB atomic update operators to prevent document replacement during partial updates.
  • Database-Native Aggregations - Executes native MongoDB aggregation pipelines to compute summarized results from complex documents.
  • Database Indexing - Provides a schema builder to create and manage unique, compound, sparse, and geospatial indexes.
  • Database Transaction Management - Ensures data consistency by wrapping multiple operations in a single atomic transaction across clusters.
  • Database Transactions - Manages session-based atomicity by wrapping multiple database operations in replica set transactions.
  • Document Array Manipulations - Provides capabilities for pushing, pulling, and updating specific entries within MongoDB array fields.
  • Document Embedding - Supports storing related data directly within parent documents to reduce read lookups.
  • Geospatial Search - Implements location-based search and filtering capabilities using MongoDB's spatial constraints.
  • Atomic Field Updates - Allows direct incrementing or decrementing of numeric values in the database to ensure concurrent update integrity.
  • Relational Data Embedding - Retrieves and maps nested sub-documents directly from a single parent record for optimized data access.
  • Query Operators - Exposes specialized MongoDB operators for precise document matching based on existence, size, and regular expressions.
  • Query Optimizations - Facilitates the creation of efficient queries and index management to optimize document retrieval performance.
  • Language Drivers - Official Eloquent model and query builder for Laravel.

Star history

Star history chart for mongodb/laravel-mongodbStar history chart for mongodb/laravel-mongodb

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does mongodb/laravel-mongodb do?

This project is a MongoDB database driver and object-relational mapper that brings MongoDB support to the Laravel Eloquent model and query builder. It provides a NoSQL model mapper that allows MongoDB collections to be mapped to object-oriented models using the Active Record pattern.

What are the main features of mongodb/laravel-mongodb?

The main features of mongodb/laravel-mongodb are: Fluent Query Builders, NoSQL Databases, BSON Mappings, Data-to-Model Mappers, Active Record Mappers, Document Database Modeling, MongoDB Database Drivers, Active-Record ORMs.

What are some open-source alternatives to mongodb/laravel-mongodb?

Open-source alternatives to mongodb/laravel-mongodb include: jenssegers/laravel-mongodb — This project is a MongoDB Eloquent ORM and NoSQL query builder for the Laravel framework. It provides an active record… mongodb/mongo-go-driver — The mongo-go-driver is a Go library for building applications that integrate with a MongoDB document store. It enables… mongoengine/mongoengine — MongoEngine is a Python object-document mapper that translates database records into objects to provide an… seaql/sea-orm — Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly… gaarason/database-all — This project is a Java-based object-relational mapping framework that utilizes the active record pattern to simplify… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web…

Open-source alternatives to Laravel Mongodb

Similar open-source projects, ranked by how many features they share with Laravel Mongodb.
  • jenssegers/laravel-mongodbjenssegers avatar

    jenssegers/laravel-mongodb

    7,075View on GitHub↗

    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

    PHP
    View on GitHub↗7,075
  • mongodb/mongo-go-drivermongodb avatar

    mongodb/mongo-go-driver

    8,506View on GitHub↗

    The mongo-go-driver is a Go library for building applications that integrate with a MongoDB document store. It enables the storage and retrieval of flexible document data by providing a bridge between Go backends and the database. The driver implements specialized capabilities for semantic vector search, allowing the handling and execution of high-dimensional vector data for similarity-based retrieval. It also supports full-text search via linguistic analysis and programmatic search index management. The project covers a broad range of database operations, including document-based CRUD, bulk

    Godatabasedrivergo
    View on GitHub↗8,506
  • mongoengine/mongoengineMongoEngine avatar

    MongoEngine/mongoengine

    4,349View on GitHub↗

    MongoEngine is a Python object-document mapper that translates database records into objects to provide an object-oriented interface for data persistence. It serves as a document manager and schema validator for MongoDB, mapping classes to documents to enforce data types and validation rules. The project provides a lazy-loaded queryset system for filtering, sorting, and aggregating collections using Pythonic syntax. It manages complex data structures through features such as document inheritance, recursive embedded document handling, and reference-based object linking. The library covers bro

    Pythonhacktoberfestmongomongodb
    View on GitHub↗4,349
  • seaql/sea-ormSeaQL avatar

    SeaQL/sea-orm

    9,410View on GitHub↗

    Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly typed objects. It provides a relational database mapper for performing CRUD operations across MySQL, PostgreSQL, and SQLite, and includes a programmatic dynamic query builder for constructing complex SQL statements. The project distinguishes itself by providing a GraphQL schema generator that transforms database entities into typed schemas with built-in pagination and filters. It also features a dedicated database migration tool for defining and applying versioned schema chan

    Rustdatabasehacktoberfestloco
    View on GitHub↗9,410
See all 30 alternatives to Laravel Mongodb→