PHPackages                             a-kurau/laravel-mongodb - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. a-kurau/laravel-mongodb

ActiveLibrary[Database &amp; ORM](/categories/database)

a-kurau/laravel-mongodb
=======================

A MongoDB based Eloquent model and Query builder for Laravel

4.1.2(2y ago)03MITPHPPHP ^8.1

Since Aug 18Pushed 2y agoCompare

[ Source](https://github.com/a-kurau/laravel-mongodb)[ Packagist](https://packagist.org/packages/a-kurau/laravel-mongodb)[ Docs](https://github.com/mongodb/laravel-mongodb)[ RSS](/packages/a-kurau-laravel-mongodb/feed)WikiDiscussions 4.2 Synced 1mo ago

READMEChangelogDependencies (11)Versions (143)Used By (0)

Laravel MongoDB
===============

[](#laravel-mongodb)

[![Latest Stable Version](https://camo.githubusercontent.com/2970b195852b7b36dece26ee83baebfbab68635d618148d8aac5fd1318725ba6/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d6f6e676f64622f6c61726176656c2d6d6f6e676f64622e737667)](https://packagist.org/packages/mongodb/laravel-mongodb)[![Total Downloads](https://camo.githubusercontent.com/28b322696b80364b00946db4cfac45d138f23a4647fb012b6b3bd1ce2ff7d159/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d6f6e676f64622f6c61726176656c2d6d6f6e676f64622e737667)](https://packagist.org/packages/mongodb/laravel-mongodb)[![Build Status](https://camo.githubusercontent.com/e1d1e7b873831f0101fdd65ab234d82dc92f2275706b620f3689f456fb2931c5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6f6e676f64622f6c61726176656c2d6d6f6e676f64622f6275696c642d63692e796d6c)](https://github.com/mongodb/laravel-mongodb/actions/workflows/build-ci.yml)

This package adds functionalities to the Eloquent model and Query builder for MongoDB, using the original Laravel API. *This library extends the original Laravel classes, so it uses exactly the same methods.*

This package was renamed to `mongodb/laravel-mongodb` because of a transfer of ownership to MongoDB, Inc. It is compatible with Laravel 10.x. For older versions of Laravel, please refer to the [old versions](https://github.com/mongodb/laravel-mongodb/tree/3.9#laravel-version-compatibility).

Documentation
-------------

[](#documentation)

-
-

Reporting Issues
----------------

[](#reporting-issues)

Think you’ve found a bug in the library? Want to see a new feature? Please open a case in our issue management tool, JIRA:

- [Create an account and login.](https://jira.mongodb.org/)
- Navigate to the [PHPORM](https://jira.mongodb.org/browse/PHPORM) project.
- Click Create - Please provide as much information as possible about the issue type and how to reproduce it.

Note: All reported issues in JIRA project are public.

For general questions and support requests, please use one of MongoDB's [Technical Support](https://mongodb.com/docs/manual/support/) channels.

### Security Vulnerabilities

[](#security-vulnerabilities)

If you've identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions in [Create a Vulnerability Report](https://mongodb.com/docs/manual/tutorial/create-a-vulnerability-report).

Development
-----------

[](#development)

Development is tracked in the [PHPORM](https://jira.mongodb.org/projects/PHPORM/summary) project in MongoDB's JIRA. Documentation for contributing to this project may be found in [CONTRIBUTING.md](CONTRIBUTING.md).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 54% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Recently: every ~11 days

Total

142

Last Release

853d ago

Major Versions

v2.3.4 → v3.0.22016-03-04

2.3.x-dev → v3.1.0-alpha2016-08-30

2.0.x-dev → v3.2.32017-09-05

v3.9.5 → v4.0.0-ALPHA22023-08-31

3.9.x-dev → 4.0.x-dev2024-01-17

PHP version history (3 changes)v1.0.0PHP &gt;=5.3.0

v1.4.0PHP &gt;=5.4.0

v4.0.0-ALPHA2PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/c44b9c00afff88ff8b443fa809c13624d5b3c45367519af2684223c90dd5d20e?d=identicon)[a-kurau](/maintainers/a-kurau)

---

Top Contributors

[![jenssegers](https://avatars.githubusercontent.com/u/194377?v=4)](https://github.com/jenssegers "jenssegers (673 commits)")[![Smolevich](https://avatars.githubusercontent.com/u/7188867?v=4)](https://github.com/Smolevich "Smolevich (116 commits)")[![divine](https://avatars.githubusercontent.com/u/48183131?v=4)](https://github.com/divine "divine (109 commits)")[![GromNaN](https://avatars.githubusercontent.com/u/400034?v=4)](https://github.com/GromNaN "GromNaN (71 commits)")[![rennokki](https://avatars.githubusercontent.com/u/21983456?v=4)](https://github.com/rennokki "rennokki (27 commits)")[![thilanga](https://avatars.githubusercontent.com/u/1523586?v=4)](https://github.com/thilanga "thilanga (25 commits)")[![pi0](https://avatars.githubusercontent.com/u/5158436?v=4)](https://github.com/pi0 "pi0 (24 commits)")[![alcaeus](https://avatars.githubusercontent.com/u/383198?v=4)](https://github.com/alcaeus "alcaeus (21 commits)")[![duxet](https://avatars.githubusercontent.com/u/821707?v=4)](https://github.com/duxet "duxet (20 commits)")[![RemiCollin](https://avatars.githubusercontent.com/u/9589616?v=4)](https://github.com/RemiCollin "RemiCollin (17 commits)")[![denissonleal](https://avatars.githubusercontent.com/u/9142644?v=4)](https://github.com/denissonleal "denissonleal (16 commits)")[![hans-thomas](https://avatars.githubusercontent.com/u/39920372?v=4)](https://github.com/hans-thomas "hans-thomas (15 commits)")[![alexandre-butynski](https://avatars.githubusercontent.com/u/671662?v=4)](https://github.com/alexandre-butynski "alexandre-butynski (14 commits)")[![stephandesouza](https://avatars.githubusercontent.com/u/159077?v=4)](https://github.com/stephandesouza "stephandesouza (8 commits)")[![simonschaufi](https://avatars.githubusercontent.com/u/941794?v=4)](https://github.com/simonschaufi "simonschaufi (7 commits)")[![Tucker-Eric](https://avatars.githubusercontent.com/u/6483755?v=4)](https://github.com/Tucker-Eric "Tucker-Eric (7 commits)")[![Bodom78](https://avatars.githubusercontent.com/u/139152?v=4)](https://github.com/Bodom78 "Bodom78 (7 commits)")[![benargo](https://avatars.githubusercontent.com/u/863291?v=4)](https://github.com/benargo "benargo (7 commits)")[![rjvandoesburg](https://avatars.githubusercontent.com/u/1488300?v=4)](https://github.com/rjvandoesburg "rjvandoesburg (7 commits)")[![RosemaryOrchard](https://avatars.githubusercontent.com/u/16113535?v=4)](https://github.com/RosemaryOrchard "RosemaryOrchard (7 commits)")

---

Tags

laraveldatabasemodeleloquentmongodbmongo

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/a-kurau-laravel-mongodb/health.svg)

```
[![Health](https://phpackages.com/badges/a-kurau-laravel-mongodb/health.svg)](https://phpackages.com/packages/a-kurau-laravel-mongodb)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M94](/packages/mongodb-laravel-mongodb)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
