mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 58 minutes ago
Added to GitGenius on September 9th, 2026
Created on March 31st, 2013
Open Issues & Pull Requests: 47 (-1)
GitHub issues: Enabled
Number of forks: 1,433
Total Stargazers: 7,068 (+0)
Total Subscribers: 169 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Laravel MongoDB is an Eloquent model and Query builder extension for Laravel that enables MongoDB as a database backend using the standard Laravel API.

The package solves the problem of using MongoDB with Laravel applications by extending Eloquent, Laravel's built-in ORM, to work with MongoDB instead of relational databases. It implements the same methods and patterns developers already use in Laravel, so the learning curve is minimal. The approach preserves API compatibility with standard Eloquent while adapting the underlying query execution to MongoDB's document model.

Developers should choose this tool if they are building Laravel applications that need MongoDB as their primary database. It suits projects where the document-oriented nature of MongoDB aligns with the data model, and where teams want to leverage Laravel's ecosystem without switching ORMs. The package is compatible with Laravel 10.x and maintains backward compatibility with older Laravel versions through separate branches.

Development is managed through MongoDB's JIRA issue tracking system in the PHPLARA project, where all reported issues are publicly visible. Releases are created automatically with GPG signatures verified using the PHP team's key. The project directs security vulnerability reports through MongoDB's official vulnerability reporting process rather than public issue channels.