This package is abandoned and no longer maintained. The author suggests using the mongodb/laravel-mongodb package instead.

A MongoDB based Eloquent model and Query builder for Laravel

Installs: 10 734 656

Dependents: 252

Suggesters: 13

Security: 0

Stars: 6 943

Watchers: 177

Forks: 1 408

4.3.0 2024-04-26 15:53 UTC

This package is auto-updated.

Last update: 2024-05-23 14:31:15 UTC


Latest Stable Version Total Downloads Build Status

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.


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:

gpg --import php-driver.asc

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

git show --show-signature 4.4.0


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 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 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 is tracked in the PHPORM project in MongoDB's JIRA. Documentation for contributing to this project may be found in