# Laravel MongoDB

Laravel package that adds MongoDB support to Eloquent models and the query builder, using the Laravel API.


Source: https://findsoftware.frbit.cloud/laravel-mongodb/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/
- repository: https://github.com/mongodb/laravel-mongodb
- docs: https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/

### Identity

- status: active
- maintainer: MongoDB, Inc.
- maintainerType: company
- parent: unknown
- firstRelease: 2013
- hqCountry: US

### Kind

- category: library
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.2
- basedOn: laravel

### Content

- contentStore: not applicable
- databases: mongodb
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: composer require

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 5
- latestReleaseDate: 2026-11-13

### Adoption

- githubStargazers: 7058
- packagistDownloads: 10818048
- npmWeeklyDownloads: not applicable
- contributors: 193
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 68
- dependentPackages: 23

### Sources

- urls: https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/ (read 2026-11-16)
- urls: https://api.github.com/repos/mongodb/laravel-mongodb (read 2026-11-16)
- urls: https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/ (read 2026-11-16)
- maintainer: https://github.com/mongodb/laravel-mongodb/blob/5.12.1/LICENSE (read 2026-11-16)
- hqCountry: https://www.mongodb.com/legal/terms-of-use (read 2026-11-16)
- category: https://github.com/mongodb/laravel-mongodb/blob/5.12.1/README.md (read 2026-11-16)
- basedOn: https://github.com/mongodb/laravel-mongodb/blob/5.12.1/README.md (read 2026-11-16)
- language: https://api.github.com/repos/mongodb/laravel-mongodb (read 2026-11-16)
- runtime: https://github.com/mongodb/laravel-mongodb/blob/5.12.1/composer.json (read 2026-11-16)
- runtimeMin: https://github.com/mongodb/laravel-mongodb/blob/5.12.1/composer.json (read 2026-11-16)
- license: https://github.com/mongodb/laravel-mongodb/blob/5.12.1/composer.json (read 2026-11-16)
- license: https://github.com/mongodb/laravel-mongodb/blob/5.12.1/LICENSE (read 2026-11-16)
- licenseModel: https://github.com/mongodb/laravel-mongodb/blob/5.12.1/LICENSE (read 2026-11-16)
- databases: https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/ (read 2026-11-16)
- installMethod: https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/get-started.md (read 2026-11-16)
- currentMajor: https://api.github.com/repos/mongodb/laravel-mongodb/releases/latest (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/mongodb/laravel-mongodb/releases/latest (read 2026-11-16)
- firstRelease: https://repo.packagist.org/p2/mongodb/laravel-mongodb.json (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/mongodb/laravel-mongodb (read 2026-11-16)
- contributors: https://api.github.com/repos/mongodb/laravel-mongodb/contributors (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/mongodb/laravel-mongodb.json (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/mongodb%2Flaravel-mongodb (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/mongodb%2Flaravel-mongodb (read 2026-11-16)

## Notes

Laravel MongoDB is the official Laravel integration for MongoDB. It extends the Eloquent model and the query builder of the Laravel API so that models and queries use the same methods against a MongoDB datastore. The [documentation](https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/) says the package was formerly named jenssegers/mongodb and is now owned and maintained by MongoDB, Inc.

## Worth knowing

The get-started guide connects the application to a cluster on MongoDB Atlas, the vendor's hosted database service, with a connection string, and says a deployment not hosted on Atlas connects through connection strings as well. The guide also asks for the MongoDB PHP extension, which the package needs to manage connections.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
