New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

jenssegers/mongodb

A MongoDB based Eloquent model and Query builder for Laravel
13,676,166 7,057

Larablocks Analysis

Compatibility

Trusted maintainer

jenssegers/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 recommended

Replacement 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
Maintainer: GromNaN

Laravel MongoDB

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.

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:

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

symfomany/laravel-mongo

A MongoDB based Eloquent model and Query builder for Laravel 5

83 8
suren/laravel-mongo-model-schema

Make mongo data saving and retrieving match defined schemas for Laravel. Support...

2,454 7
laragear/meta-model

Let other developers customize your package model and migrations

2,344,031 1
tusimo/embed-relation

a relation for laravel

11,070 3
pdphilip/opensearch

An OpenSearch implementation of Laravel's Eloquent ORM

528,956 0

Version History

Version Released PHP Laravel License
5.12.2 ^8.2 ^12|^13.0 MIT
5.12.1 ^8.2 ^12|^13.0 MIT
5.12.0 ^8.2 ^12|^13.0 MIT
5.11.0 ^8.2 ^12|^13.0 MIT
5.10.0 ^8.2 ^12|^13.0 MIT
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