qmetrics.net

Laravel MongoDB

Official MongoDB Eloquent integration for Laravel

Laravel MongoDB screenshot

Extends Laravel Eloquent and the query builder to use MongoDB as a datastore with familiar Laravel syntax.

Overview

Laravel MongoDB is the official integration that lets Laravel applications treat MongoDB like other Eloquent-backed databases. It subclasses Laravel's model and query builder APIs so developers can reuse familiar patterns when reading and writing documents.

The package was formerly distributed under another vendor name and is now maintained by MongoDB, Inc. Documentation covers getting started, connecting to deployments including MongoDB Atlas, modeling collections as Eloquent models, querying and aggregating data, and using Laravel features such as authentication, caching, and queues where supported.

Major version upgrades may include breaking changes; compatibility tables relate library versions to Laravel releases. Releases are tagged and signed; issue tracking uses MongoDB's public JIRA project for bugs and feature requests.

It is installed as a Composer dependency inside Laravel projects rather than as a standalone server product.

Key features

  • MongoDB-backed Eloquent models
  • Laravel query builder compatibility
  • Atlas and self-managed connections
  • Aggregation and data interaction APIs
  • Laravel auth and queue integrations
  • Signed release tags
  • Compatibility documentation by version

Use cases

  • Laravel apps using MongoDB
  • Document models with Eloquent
  • Migrating from SQL-only Laravel stacks
  • Atlas-hosted Laravel workloads

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

GORM

Feature-rich ORM library for Go applications

GORM maps Go structs to SQL databases with migrations, associations, hooks, and a fluent query API. It targets developer-friendly access patterns for common CRUD and relationship modeling.

★ 40k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

TypeORM

TypeScript and JavaScript ORM for many SQL and NoSQL databases

TypeORM maps objects to relational and document databases from Node.js, browsers, and mobile shells. It supports TypeScript and JavaScript with both Data Mapper and Active Record styles.

★ 36.7k⟳ 3 days agoMIT
Frameworks & PlatformsDesktop/CLI app

MyBatis 3

Java SQL mapper with XML or annotation config

MyBatis links Java objects to SQL and stored procedures via XML or annotations. It trims repetitive JDBC parameter and result handling.

★ 20.4k⟳ yesterdayApache-2.0

Node Redis

High-performance Redis client for Node.js

node-redis connects Node.js applications to Redis with typed commands, clustering, pub/sub, transactions, and optional client-side caching.

★ 17.6k⟳ yesterdayMIT
Frameworks & PlatformsDesktop/CLI app

MyBatis-Plus

Enhanced MyBatis toolkit for Java database access

MyBatis-Plus extends MyBatis with code generation, conditional query builders, and pagination helpers. It stays compatible with MyBatis while adding convenience APIs for common CRUD work.

★ 17.5k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app