jenssegers / mongodb
A MongoDB based Eloquent model and Query builder for Laravel
Installs: 11 637 797
Dependents: 251
Suggesters: 13
Security: 0
Stars: 7 019
Watchers: 177
Forks: 1 429
Requires
- php: ^8.1
- composer-runtime-api: ^2.0.0
- ext-mongodb: ^1.15
- illuminate/cache: ^10.36|^11
- illuminate/container: ^10.0|^11
- illuminate/database: ^10.30|^11
- illuminate/events: ^10.0|^11
- illuminate/support: ^10.0|^11
- mongodb/mongodb: ^1.18
Requires (Dev)
- doctrine/coding-standard: 12.0.x-dev
- league/flysystem-gridfs: ^3.28
- league/flysystem-read-only: ^3.0
- mockery/mockery: ^1.4.4
- mongodb/builder: ^0.2
- orchestra/testbench: ^8.0|^9.0
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.3
- rector/rector: ^1.2
- spatie/laravel-query-builder: ^5.6
Suggests
- league/flysystem-gridfs: Filesystem storage in MongoDB with GridFS
- mongodb/builder: Provides a fluent aggregation builder for MongoDB pipelines
Conflicts
- illuminate/bus: < 10.37.2
Replaces
- jenssegers/mongodb: 5.1.0
- 5.x-dev
- 5.1.x-dev
- 5.1.0
- 5.0.x-dev
- 5.0.2
- 5.0.1
- 5.0.0
- 5.0.0-rc1
- 4.8.x-dev
- 4.8.1
- 4.8.0
- 4.7.x-dev
- 4.7.2
- 4.7.1
- 4.7.0
- 4.6.x-dev
- 4.6.0
- 4.5.x-dev
- 4.5.0
- 4.4.x-dev
- 4.4.1
- 4.4.0
- 4.3.x-dev
- 4.3.1
- 4.3.0
- 4.2.x-dev
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.x-dev
- v4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.x-dev
- 4.0.3
- 4.0.2
- 4.0.0
- 4.0.0-rc1
- v4.0.0-ALPHA2
- 4.0.0-alpha.1
- 3.9.x-dev
- v3.9.5
- v3.9.4
- 3.9.3
- v3.9.2
- v3.9.1
- v3.9.0
- 3.8.x-dev
- v3.8.6
- v3.8.5
- 3.8.4
- v3.8.3
- v3.8.2
- v3.8.1
- v3.8.0
- 3.7.x-dev
- v3.7.3
- v3.7.2
- v3.7.1
- v3.7.0
- 3.6.x-dev
- v3.6.8
- v3.6.7
- v3.6.6
- v3.6.5
- v3.6.4
- v3.6.3
- v3.6.2
- v3.6.1
- v3.6.0
- v3.5.3
- v3.5.2
- v3.5.1
- v3.5.0
- v3.4.6
- v3.4.5
- v3.4.4
- v3.4.3
- v3.4.2
- v3.4.1
- v3.4.0
- 3.3.x-dev
- v3.3.2
- v3.3.1
- v3.3.0
- v3.3.0-alpha
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.1.0-alpha
- v3.0.2
- v3.0.1
- v3.0.0
- v3.0.0-beta
- v3.0.0-alpha
- 2.3.x-dev
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- 2.2.x-dev
- v2.2.10
- v2.2.9
- v2.2.8
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- 2.1.x-dev
- v2.1.9
- v2.1.8
- v2.1.7
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.1.0-beta
- 2.0.x-dev
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v2.0.0-alpha
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.9
- v1.2.8
- v1.2.7
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-merge-5.1-into-5.x-1733152274635
- dev-merge-5.0-into-5.1-1733152128857
- dev-merge-4.8-into-5.0-1733151734858
- dev-feat-dirty
This package is auto-updated.
Last update: 2024-12-02 15:14:31 UTC
README
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 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
Development is tracked in the PHPORM project in MongoDB's JIRA. Documentation for contributing to this project may be found in CONTRIBUTING.md.