Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

laravel-mongodb

> 后端框架
Open source

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

7.1K stars0 likes2 views
WebsiteGitHub

About

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

Laravel MongoDB

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.

Documentation

  • https://www.mongodb.com/docs/drivers/php/laravel-mongodb/
  • https://www.mongodb.com/docs/drivers/php/

Release Integrity

Releases are created automatically and the resulting release tag is signed using the PHP team's GPG key. To verify the tag signature, download the key and import it using gpg:

bash
gpg --import php-driver.asc

Then, in a local clone, verify the signature of a given tag (e.g. 4.4.0):

bash
git show --show-signature 4.4.0

[!NOTE] Composer does not support verifying signatures as part of its installation process.

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.
  • Navigate to the PHPLARA 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 channels.

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.

Development

Development is tracked in the PHPLARA project in MongoDB's JIRA. Documentation for contributing to this project may be found in CONTRIBUTING.md.

Issues· 45 open

View all issuesOpen on GitHub
  • #2699

    [Feature Request] Queryable Encryption or CSFLE

    tracked-in-jiraUpdated Sep 8, 2026
  • #3541

    has() / whereHas() fails when custom relationship keys are numeric strings

    tracked-in-jiraUpdated Aug 22, 2026
  • #3454

    Eager loading MorphTo relationships with withTrashed() doesn't include soft-deleted models

    tracked-in-jiraUpdated Jul 29, 2026
  • #3549

    In-memory model hydration bug masks id after Model::create()

    tracked-in-jiraUpdated Jul 27, 2026
  • #3530

    Configuration for MongoDB Query Logging

    tracked-in-jiraUpdated Jun 18, 2026
  • #1761

    Stop auto-casting string to & from ObjectId

    featureUpdated Jun 10, 2026
  • #2851

    Transaction level not working when use closure

    tracked-in-jiraUpdated Jun 10, 2026
  • #2986

    whereHas does not work with ObjectId relations

    tracked-in-jiraUpdated Jun 10, 2026
  • #3449

    trigger_error directly in file causes unpredictable system failure

    Updated Sep 16, 2025
  • #3447

    DB::enableQueryLog not working when using DatabaseMigrations

    Updated Sep 11, 2025

> Tags

PHPeloquentlaravellaravel-frameworkmoloquent

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 22, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架