Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mongodb Laravel Package

jenssegers/mongodb

View on GitHub
Deep Wiki
Context7
5.8.0

What's Changed

New Features

Fixed

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.7.1...5.8.0

5.7.1

What's Changed

Fixed

Other Changes

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.7.0...5.7.1

5.7.0

What's Changed

New Features

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.6.0...5.7.0

5.6.0

This release fixes compatibility with Laravel 12.51.

What's Changed

Fixed

Other Changes

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.5.0...5.6.0

5.5.0

What's Changed

Fixed

Other Changes

Docs changes

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.4.3...5.5.0

5.4.3

What's Changed

Fixed

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.4.2...5.4.3

5.4.2

What's Changed

Fixed

Other Changes

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.4.1...5.4.2

5.4.1

What's Changed

Fixed

Other Changes

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.4.0...5.4.1

5.4.0

What's Changed

This release fixes the db:show and db:tables database introspection commands when using views. The user id, IP address and user agent are now saved by the `mongodb' session driver if available.

Feature

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.3.1...5.4.0

5.3.1

What's Changed

Bug

Documentation

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.3.0...5.3.1

4.9.0

What's Changed

This is a maintenance release to enable compatibility with the version 2.0.0 of the MongoDB extension and library.

Feature

Documentation

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.8.1...4.9.0

5.3.0

What's Changed

Features

Fixed

Documentation

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.2.2...5.3.0

5.2.2

What's Changed

Bug

Documentation

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.2.1...5.2.2

5.2.1

What's Changed

Bug

Features

Documentation

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.2.0...5.2.1

5.2.0

The MongoDB team is pleased to announce the release of version 5.2.0 of the Laravel MongoDB Library.

This release requires an upgrade of the mongodb extesion to version 1.21 and the mongodb/mongodb library to version 1.21.

New Features and Enhancements

  • Atlas Search and Vector Search, integration with new methods in the query builder and schema builder
  • Laravel Scout support, to use MongoDB Atlas as a search engine.
  • An optimized session driver to store sessions in MongoDB
  • Rename Connection::getMongoDB to getDatabase for naming consistency.

Compatibility Updates

  • Laravel 12 support
  • MongoDB Extension 1.21: This release requires to update the mongodb extension to the version 1.21
  • Support for MongoDB 4.0 Deprecated: Future versions will require MongoDB 4.2 or later.
  • Support for spatie/laravel-query-builder v6

Documentation

Documentation for this library may be found in the Laravel MongoDB Manual.

Installation

This library may be installed or upgraded with:

composer require mongodb/laravel-mongodb:^5.2.0

Installation instructions for the mongodb extension may be found in the PHP.net documentation.

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.1.1...5.2.0

5.1.1

What's Changed

Fixed

Other Changes

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.1.0...5.1.1

4.8.1

What's Changed

Fixed

Other Changes

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.8.0...4.8.1

5.1.0

What's Changed

New Features

Fixed

Other Changes

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.0.2...5.1.0

5.0.2

What's Changed

Fixed

Other Changes

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.0.1...5.0.2

5.0.1

What's Changed

Other Changes

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/5.0.0...5.0.1

5.0.0

The PHP team is happy to announce that version 5.0.0 of the MongoDB integration for Laravel is now available. Feedbacks are welcome in this discussion.

Breaking changes for better compatibility with Laravel and Eloquent

  • id is always alias to _id in MongoDB. You can remove the protected $primaryKey = '_id' in model classes. Replace all $model->_id with $model->id.
  • DateTimeInterface objects (including Carbon) are converted to MongoDB UTCDateTime by the query builder in queries, inserted and updated data. In results, MongoDB UTCDateTime objects are automatically converted to Carbon date with the default timezone. Some Eloquent cast my no longer be required.
  • Results of the Query Builder are returned as stdClass instead of array. Replace code like $item['name'] with $item->name.
  • $collection is replaced by $table to customize the name of an Eloquent Model.
  • The providers Auth\PasswordResetServiceProvider, MongoDBQueueServiceProvider and Queue\Failed\MongoFailedJobProvider are removed. Remove them from your application. The MongoDB connection is compatible with the Laravel classes
  • MongoDB\Laravel\Collection is replaced by MongoDB\Collection, and query are logged using MongoDB Monitoring Events.

What's Changed

New Features

Other Changes

Upgrade Guide

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.8.0...5.0.0

5.0.0-rc1

The PHP team is happy to announce that version 5.0.0-RC1 of the MongoDB integration for Laravel is now available. This is a release candidate for which we'd like to receive your feedback in the discussion.

Breaking changes for better compatibility with Laravel and Eloquent

  • id is always alias to _id in MongoDB. You can remove the protected $primaryKey = '_id' in model classes. Replace all $model->_id with $model->id.
  • DateTimeInterface objects (including Carbon) are converted to MongoDB UTCDateTime by the query builder in queries, inserted and updated data. In results, MongoDB UTCDateTime objects are automatically converted to Carbon date with the default timezone. Some Eloquent cast my no longer be required.
  • Results of the Query Builder are returned as stdClass instead of array. Replace code like $item['name'] with $item->name.
  • $collection is replaced by $table to customize the name of an Eloquent Model.
  • The providers Auth\PasswordResetServiceProvider, MongoDBQueueServiceProvider and Queue\Failed\MongoFailedJobProvider are removed. Remove them from your application. The MongoDB connection is compatible with the Laravel classes
  • MongoDB\Laravel\Connection is replaced by MongoDB\Connection, and query are logged using MongoDB Monitoring Events.

What's Changed

New Features

Other Changes

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.8.0...5.0.0-rc1

4.8.0

What's Changed

New Features

Fixed

Other Changes

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.7.1...4.8.0

4.7.2

What's Changed

Fixed

Other Changes

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.7.1...4.7.2

4.7.1

What's Changed

Fixed

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.7.0...4.7.1

4.7.0

This release improves the compatibility with introspection features provided by Laravel (commands db:show and db:table) and the package barryvdh/laravel-ide-helper.

What's Changed

New Features

Fixed

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.6.0...4.7.0

4.6.0

What's Changed

New Features

Other Changes

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.5.0...4.6.0

4.5.0

What's Changed

New Features

Other Changes

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.4.1...4.5.0

4.4.1

What's Changed

Other Changes

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.4.0...4.4.1

4.4.0

What's Changed

New Features

Fixed

Other Changes

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.3.0...4.4.0

4.3.1

What's Changed

New Features

Fixed

Other Changes

New Contributors

Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.3.0...4.3.1

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver