A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)
The PHP team is happy to announce that version 4.2.0 of the MongoDB integration for Laravel is now available.
Release Highlights
Documentation
Documentation for this library may be found one the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.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/4.1.3...4.2.0
The PHP team is happy to announce that version 4.1.3 of the MongoDB integration for Laravel is now available.
Release Highlights
null
in datetime
fields and reset time in date
field with custom format by @GromNaN in https://github.com/mongodb/laravel-mongodb/pull/2741
Documentation
Documentation for this library may be found one the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.1.3
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.1.2...4.1.3
The PHP team is happy to announce that version 4.1.2 of the MongoDB integration for Laravel is now available.
Release Highlights
Query\Builder::dump
and dd
methods to dump MongoDB query by @GromNaN in https://github.com/mongodb/laravel-mongodb/pull/2727 and https://github.com/mongodb/laravel-mongodb/pull/2730
Documentation
Documentation for this library may be found one the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.1.2
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.1.1...4.1.2
The PHP team is happy to announce that version 4.1.1 of the MongoDB integration for Laravel is now available.
Release Highlights
Model::$unset
when a model is saved or refreshed by @richardfila in https://github.com/mongodb/laravel-mongodb/pull/2709
Documentation
Documentation for this library may be found in the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.1.1
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
New Contributors
Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.1.0...4.1.1
The PHP team is happy to announce that version 4.0.3 of the MongoDB integration for Laravel is now available.
Release Highlights
Model::$unset
when a model is saved or refreshed by @richardfila in https://github.com/mongodb/laravel-mongodb/pull/2709
Documentation
Documentation for this library may be found in the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.0.3
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
New Contributors
Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.0.2...v4.0.3
The PHP team is happy to announce that version 4.1.0 of the MongoDB integration for Laravel is now available.
Connection::ping()
is added to check the connection to the server (#2677) by @hans-thomasgroupBy
queries is supported (#2672) by @GromNaNA complete list of resolved issues in this release may be found in the changelog.
Documentation for this library may be found in the Readme.
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.1.0
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.0.2...4.1.0
The PHP team is happy to announce that version 4.0.2 of the MongoDB integration for Laravel is now available.
Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/4.0.0...4.0.2
Documentation for this library may be found in the Readme.
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.0.2
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
The MongoDB PHP team is happy to announce that version 4.0.0 of the MongoDB integration for Laravel 10 is now available.
mongodb/laravel-mongodb
MongoDB\Laravel
ObjectId
and UUID instances 5105553 by @alcaeus.Query\Builder::toMql()
to simplify comprehensive query tests ae3e0d5 by @GromNaN.Query\Builder::whereNot
to use MongoDB $nor
operator e045fab by @GromNaN.Query\Builder::whereBetween
to accept Carbon\Period
object f729baa by @GromNaN.Query\Builder
methods e1a83f4 by @GromNaN.Query\Builder::orderBy()
is used with invalid direction edd0871 by @GromNaN.Query\Builder::push()
is used incorrectly 19cf7a2 by @GromNaN.Query\Builder::$paginating
e045fab by @GromNaN.Collection::count
for countDocuments
4514964 by @GromNaN.$
in Query\Builder::orWhere
0fb83af by @GromNaN.Query\Builder::whereAll($column, $values)
. Use Query\Builder::where($column, 'all', $values)
instead. 1d74dc3 by @GromNaN.%
and _
in like
expression ea89e86 by @GromNaN.Query\Builder::__constructor
to match the parent class #2570 by @GromNaN.whereDate
, whereDay
, whereMonth
, whereYear
, whereTime
to use MongoDB operators #2376 by @Davpyu and @GromNaN.Model::unset()
does not persist the change. Call Model::save()
to persist the change #2578 by @GromNaN.Query\Builder::limit(1)->delete()
#2591 by @GromNaNMongoDB\Laravel\Eloquent\MassPrunable
to replace the Eloquent trait on MongoDB models #2598 by @GromNaNDocumentation for this library may be found in the Readme.
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:^4.0.0
Installation instructions for the mongodb extension may be found in the PHP.net documentation.
The MongoDB PHP team is happy to announce that version 4.0.0-rc1 of the MongoDB integration for Laravel is now available.
This is a release candidate for the upcoming 4.0.0 release. Please test it and report issues as soon as possible.
Release Highlights
mongodb/laravel-mongodb
MongoDB\Laravel
Model::toArray()
by @jeromegamez in #2522ObjectId
and UUID
instances #1 by @alcaeus.Query\Builder::toMql()
to simplify comprehensive query tests #6 by @GromNaN.Query\Builder::whereNot
to use MongoDB $not
operator #13 by @GromNaN.Query\Builder::whereBetween
to accept Carbon\Period
object #10 by @GromNaN.Query\Builder
methods #9 by @GromNaN.Query\Builder::orderBy()
is used with invalid direction #7 by @GromNaN.Query\Builder::push()
is used incorrectly #5 by @GromNaN.Query\Builder::$paginating
#15 by @GromNaN.Collection::count
for countDocuments
#18 by @GromNaN.$
in Query\Builder::orWhere
#20 by @GromNaN.Query\Builder::whereAll($column, $values)
. Use Query\Builder::where($column, 'all', $values)
instead. #16 by @GromNaN.%
and _
in like
expression #17 by @GromNaN.Query\Builder::__constructor
to match the parent class #26 by @GromNaN.whereDate
, whereDay
, whereMonth
, whereYear
, whereTime
to use MongoDB operators#2570 by @Davpyu and @GromNaN.Model::unset()
does not persist the change. Call Model::save()
to persist the change#2578 by @GromNaN.failed_at
as ISODate #2607 by @BehroozBvkDocumentation
Documentation for this library may be found in the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.0.0-rc1
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
This is a pre-version with Laravel 10.x support.
Please test on your project and report any issue.
Package is renamed mongodb/laravel-mongodb
and namespace changed to MongoDB\Laravel
.
mongodb/laravel-mongodb
MongoDB\Laravel
Model::toArray()
by @jeromegamez in https://github.com/mongodb/laravel-mongodb/pull/2522
ObjectId
and UUID
instances #1 by @alcaeus.Query\Builder::toMql()
to simplify comprehensive query tests #6 by @GromNaN.Query\Builder::whereNot
to use MongoDB $not
operator #13 by @GromNaN.Query\Builder::whereBetween
to accept Carbon\Period
object #10 by @GromNaN.Query\Builder
methods #9 by @GromNaN.Query\Builder::orderBy()
is used with invalid direction #7 by @GromNaN.Query\Builder::push()
is used incorrectly #5 by @GromNaN.Query\Builder::$paginating
#15 by @GromNaN.Collection::count
for countDocuments
#18 by @GromNaN.$
in Query\Builder::orWhere
#20 by @GromNaN.Query\Builder::whereAll($column, $values)
. Use Query\Builder::where($column, 'all', $values)
instead. #16 by @GromNaN.%
and _
in like
expression #17 by @GromNaN.Query\Builder::__constructor
to match the parent class #26 by @GromNaN.whereDate
, whereDay
, whereMonth
, whereYear
, whereTime
to use MongoDB operators #2570 by @Davpyu and @GromNaN.Model::unset()
does not persist the change. Call Model::save()
to persist the change #2578 by @GromNaN.Full Changelog: https://github.com/mongodb/laravel-mongodb/compare/v3.9.5...v4.0.0-ALPHA2
Note: an old tag4.0.0-alpha.1
was created 3 years ago and should not be used.