jenssegers/mongodb
Larablocks Analysis
Compatibility
Trusted maintainerjenssegers/mongodb works with Laravel 12 and 13 (latest release 5.12.2, Nov 25, 2026).
Laravel 4 to 11 in earlier releases.
- Trusted maintainer: jenssegers publishes 12 packages on Larablocks, with 2,472,279 downloads a month between them.
Recommendation checks
Replacement recommendedReplacement recommended: use mongodb/laravel-mongodb instead. Named by its author on Packagist.
- Marked abandoned on Packagist
- Works with Laravel 13, the current version
- Released in the last 12 months (Nov 25, 2026)
- 86,722 downloads a month (at least 10,000)
- 7,057 GitHub stars (at least 100)
State
Abandoned- Packagist marks this package abandoned.
- Last stable release: Nov 25, 2026.
- 13 releases in the last 12 months.
- First released: Aug 18, 2013.
- Monthly downloads: 86,722.
- 45 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require jenssegers/mongodb |
|
| Latest Version: | 5.12.2 |
| PHP: | ^8.2 |
| Laravel: | 12 · 13 |
| Older releases: | 4 – 11 |
| License: | MIT |
| Last Updated: | Dec 3, 2026 |
| Links: | GitHub · Packagist |
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
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
[!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.
Related Packages
Make mongo data saving and retrieving match defined schemas for Laravel. Support...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 5.12.2 | ^8.2 | ^12| | MIT | |
| 5.12.1 | ^8.2 | ^12| | MIT | |
| 5.12.0 | ^8.2 | ^12| | MIT | |
| 5.11.0 | ^8.2 | ^12| | MIT | |
| 5.10.0 | ^8.2 | ^12| | MIT | |
| 5.9.1 | ^8.2 | ^12| | MIT | |
| 5.9.0 | ^8.2 | ^12| | MIT | |
| 5.8.2 | ^8.1 | ^10.0| | MIT | |
| 5.8.1 | ^8.1 | ^10.0| | MIT | |
| 5.8.0 | ^8.1 | ^10.0| | MIT | |
| 5.7.1 | ^8.1 | ^10.0| | MIT | |
| 5.7.0 | ^8.1 | ^10.0| | MIT | |
| 5.6.0 | ^8.1 | ^10.0| | MIT | |
| 5.5.0 | ^8.1 | ^10.0| | MIT | |
| 5.4.3 | ^8.1 | ^10.0| | MIT | |
| 5.4.2 | ^8.1 | ^10.0| | MIT | |
| 5.4.1 | ^8.1 | ^10.0| | MIT | |
| 5.4.0 | ^8.1 | ^10.0| | MIT | |
| 5.3.1 | ^8.1 | ^10.0| | MIT | |
| 5.3.0 | ^8.1 | ^10.0| | MIT | |
| 5.2.2 | ^8.1 | ^10.0| | MIT | |
| 5.2.1 | ^8.1 | ^10.0| | MIT | |
| 5.2.0 | ^8.1 | ^10.0| | MIT | |
| 5.1.1 | ^8.1 | ^10.0| | MIT | |
| 5.1.0 | ^8.1 | ^10.0| | MIT | |
| 5.0.2 | ^8.1 | ^10.0| | MIT | |
| 5.0.1 | ^8.1 | ^10.0| | MIT | |
| 5.0.0 | ^8.2 | ^11 | MIT | |
| 4.9.0 | ^8.1 | ^10.0| | MIT | |
| 4.8.1 | ^8.1 | ^10.0| | MIT |
Showing the latest 30 of 166. See every release on Packagist
Pre-releases (10)
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 5.0.0-rc1 | ^8.2 | ^11 | MIT | |
| 4.0.0-rc1 | ^8.1 | ^10.0 | MIT | |
| v4.0.0-ALPHA2 | ^8.1 | ^10.0 | MIT | |
| 4.0.0-alpha.1 | ^7.0 | MIT | ||
| v3.3.0-alpha | ^5.5 | MIT | ||
| v3.1.0-alpha | ^5.1 | MIT | ||
| v3.0.0-beta | ^5.1 | MIT | ||
| v3.0.0-alpha | ^5.1 | MIT | ||
| v2.1.0-beta | >=5.4.0 | 5.0.* | MIT | |
| v2.0.0-alpha | >=5.4.0 | 4.2.* | MIT |