Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)
https://github.com/mongodb/laravel-mongodb

Bump actions/checkout from 3 to 4 (#2612)

* Bump actions/checkout from 3 to 4

* Enable dependabot

66acce659c0d4a3c6956cb7e0cbdafeb6abe0903 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Upgrade PHPUnit 10.3 (#2611)

02c3378245b85076eb2aa938a96e10d446a98122 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Changed failed_at field as ISODate (#2607)

cc005bfb7b7ea1ff4be9f7e0f18726e07802b3a4 authored over 1 year ago by behrooz <[email protected]>
PHPORM-31 Split documentation into multiple files (#2610)

Split readme into smaller files to helps the reader.
Fix letter case of MongoDBServiceProvider
...

b55e5dabc7974687f5c31aa989d148a9c502483f authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-83: Document release process (#2604)

* PHPORM-83: Document release process

* Update branch-alias in composer.json

* Use correct...

f5f93a330a9407ef7484b69191a028ea2f909aa5 authored over 1 year ago by Andreas Braun <[email protected]>
Switch to phpcs and upgrade codebase (#2596)

To be consistent with other MongoDB PHP projects, we use phpcs to analyze and fix the code style...

9bc8999b79279e46bc92a4e1951a0dc70ce2d63a authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-86: Add support links to New Issue page (#2602)

5394a8d2b8fce5944cfab6cd3a339f6993b13297 authored over 1 year ago by Andreas Braun <[email protected]>
Check if $primaryKey is present before execute unset (#2599)

Problem:
Previously, while executing a dissociate operation on Embed Models in MongoDB, an Exce...

035d704b2681cb150ad5f3a48c2237977d3af21e authored over 1 year ago by Matheus Silva Freitas <[email protected]>
Add tests on null date casts (#2592)

2ea9f7af8e0090b1f29b797660b6c71d8a458b0b authored over 1 year ago by Jérôme Tamarelle <[email protected]>
make sure $column is string (#2593)

Native Eloquent allows $column to be stringable(). Not possible when using as array key.

86aa9c758ea1449b99e9d19fb674efaec1aa1287 authored over 1 year ago by wivaku <[email protected]>
Implement MassPrunable without chunks limit (#2598)

Custom implementation of MassPrunable is required to prevent using the limit. #2591 added an exc...

810d0c96fc29da927f8c96cbb872550cf79ea44e authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Support ipv6 in host config (#2595)

51bbdf7a31be1c8f597caf31adca011b2767be41 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Support delete one document with the query builder (#2591)

* Support delete one document

MongoDB PHP Library supports deleting one or all documents only...

ad79fb19faf6be454bc22e54b05346e4829f38db authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Clean phpdoc and arg names for relation traits (#2587)

9d36d17cf7c0bd67bdd40614bfc3b1f5b5798a1f authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Remove legacy from readme (#2586)

ab02a259682407970a0c485971e101600275aa2a authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-77 Rename project (#2576)

* Change namespace MongoDB\Laravel
* Rename package mongodb/laravel-mongodb
* Update code of c...

25c73e28d1b0a8491ec61450ccf59465cdbffeaa authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Merge pull request #2582 from GromNaN/unset-dot

Fix `Model::unset` with dot field name

f06f7b3dca88cfd5cc6a823ff01051b4a46ca10a authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Fix Model::unset with dot field name

58e2e2855116b31a9241f3c340362da145b884cc authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-75 Defer `Model::unset($field)` to the `save()` (#2578)

* PHPORM-75 Defer Model::unset($field) to the save()

* Deprecate Model::drop(), use Model::un...

e652b0c5f1fdf0ebca30118ee566ed0195cf2c28 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Fix tests for MongoDB 7.0 (#2579)

Error message have changed

Caused by :: Write conflict during plan execution and yielding is ...

929f28414b70868a53f94683775f31be5afda216 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-60 Fix Query on whereDate, whereDay, whereMonth, whereYear (#2572)

* Fix whereDate, whereMonth, whereYear, whereTime to use $expr and respective query rather than ...

f33041290d9dfc57e80b5ea250d4c7addee657f8 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-68 Fix partial value un exist validator (#2568)

* PHPORM-68 Fix partial value un exist validator

* escape values for regex

af13edaa6ae819b55c1eb7a72723805624d2f49a authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Remove Query\Builder::__constructor overload (#2570)

6c7df455153de9cc952d742180c2d90a004eab06 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Remove Eloquent\Builder::chunkById() already having the correct id field in laravel (#2569)

b4842886e736f17b833894c7331bda51ecd38c1a authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Remove calls to `Str::contains` and `Arr::get` when not necessary (#2571)

* Replace Laravel Str helpers with native PHP8 functions

* Remove Arr::get where not necessary

7d3be9ffc03e0ae9306fc2fe00d33e7d409a5c48 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Fix links in changelog (#2575)

0604d71264ae9f2b0c8166395bb11a5f6c44538c authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Explicitly require PHP ^8.1 (#2574)

Allows to use PHP 8.1 feature without relying on the transient dependency from laravel 10

e7d4034279a0b2aca0d6924ba30fe89782df94d0 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Optimize calls to debug_backtrace (#11)

cfbff5c940ad26e88c6c6e11aea0349651d37e4f authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-64 Remove Query\Builder::whereAll (#16)

1d74dc3d3df9f7a579b343f3109160762050ca01 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-51 Throw an exception when unsupported query builder method is used (#9)

e1a83f47f16054286bc433fc9ccfee078bb40741 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-53 Fix and test `like` and `regex` operators (#17)

- Fix support for % and _ in like expression and escaped \% and \_
- Keep ilike and regexp oper...

ea89e8631350cd81c8d5bf977efb4c09e60d7807 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-68 Fix unique validator when the validated value is part of an existing value (#21)

d5f1bb901f3e3c6777bc604be1af0a8238dc089a authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-39: Add namespace for tests directory (#2)

* Skip MySQL tests if database is not available

* Introduce tests namespace

4a10b4c86173c06edf90de35bfcc504c581c21fe authored over 1 year ago by Andreas Braun <[email protected]>
PHPORM-67 Accept operators prefixed by $ in Query\Builder::orWhere (#20)

0fb83af01284cb16def1eda6987432ebbd64bb8f authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-50 PHPORM-65 Remove call to deprecated Collection::count for countDocuments (#18)

https://www.mongodb.com/docs/php-library/current/reference/method/MongoDBCollection-count/

Fi...

4514964145c70c37e6221be8823f8f73a201c259 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-49 Implement `Query\Builder::whereNot` by encapsulating into `$not` (#13) (#15)

`Query\Builder::whereNot` was simply ignoring the "not" and breaking the built query.

e045fab6c315fe6d17f75669665898ed98b88107 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-49 Implement `Query\Builder::whereNot` by encapsulating into `$not` (#13)

`Query\Builder::whereNot` was simply ignoring the "not" and breaking the built query.

78527786d7fe0b295c452aae74d5091c627c607b authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Add header documentation for classes & traits that can be used in applications (#12)

* Add header documentation for classes & traits that can be used in applications
* Precise mixe...

f90bf78f6b56d02848d39a9c7043e1dcfdd36168 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-46 Throw an exception when Query\Builder::orderBy() is used with invalid direction (#7)

* Convert only strings, let the driver fail for int values
* Add more tests on Builder::orderBy

edd08715a0dd64bab9fd1194e70fface09e02900 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Create UTCDateTime from DateTimeInterface objects (#8)

933073df63be4e9566f48f82991fae319bd51d54 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-45 Add Query\Builder::toMql() to simplify comprehensive query tests (#6)

* PHPORM-45 Add Query\Builder::toMql() to simplify comprehensive query tests
* Move Query/Build...

ae3e0d5f72c24edcb2a78d321910397f4134e90f authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-33 Add tests on Query\Builder methods (#14)

- Add tests on query builder methods that don't need to be fixed.
- Throw exception when callin...

b9bbcdd91054b58fc4ff19864ce31bc59c2605d9 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-44: Throw an exception when Query\Builder::push() is used incorrectly (#5)

19cf7a2ee2c0f2c69459952c4207ee8279b818d3 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Add classes to cast ObjectId and UUID instances (#1)

5105553cbb672a982ccfeaa5b653d33aaca1553e authored over 1 year ago by Andreas Braun <[email protected]>
PHPORM-35 Add various tests on Model `_id` types (#22)

* PHPORM-35 Add various tests on Model _id

* Add assertion on expected value

* Test _id as...

49ec43c49c661678ba7b8b3a2d75d6172e260e80 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
PHPORM-47 Improve Builder::whereBetween to support CarbonPeriod and reject invalid array (#10)

The Query\Builder::whereBetween() method can be used like this:

whereBetween('date_field', [m...

f729baad59b4baf3307121df7f60c5cd03a504f5 authored over 1 year ago by Jérôme Tamarelle <[email protected]>
Remove duplicate use statement (#2525)

1303b5fb05d1c8f06d29c55b79e3e5468c946f45 authored almost 2 years ago by Andreas Braun <[email protected]>
Fix Enums not being cast when calling `Model::toArray()` (#2522)

23c396ccddd009f106b8f9992cfa03db5fe4ddbd authored almost 2 years ago by Jérôme Gamez <[email protected]>
Fix: remove incompatible return type (#2517)

* Fix: remove incompatible return type

* fix: remove return type for addCastAttributesToArray...

7669dc2e91c05c853aab56beb1ce4819fc430253 authored almost 2 years ago by Saulius Kazokas <[email protected]>
chore: update README.md (#2512)

* Update README.md

4901b5758e4b38ad60b43afcd6764cedc0c034ee authored almost 2 years ago by Abbas mkhzomi <[email protected]>
Merge pull request #2514 from jenssegers/improve-docker

chore: improve docker tests

57010c029587e39ecd3591ce6fb9a7515a68fdae authored almost 2 years ago by Stas <[email protected]>
chore: docker copy cached

c380ce37109d9d673b6e8d74b18699b854004dd1 authored almost 2 years ago by Divine <[email protected]>
chore: docker test move composer version

35247a0d3290e73d5d4c7d927da206665879947c authored almost 2 years ago by Divine <[email protected]>
Revert "chore: docker improve cache"

This reverts commit 83d5d3493ff37d639c4584ff20e98717b126df7c.

b224af5a5642bdb67531dcad5f177debea0a8fe4 authored almost 2 years ago by Divine <[email protected]>
chore: docker remove platform

ab2142c176e6b01cc10f65cea6d03b6660ae5844 authored almost 2 years ago by Divine <[email protected]>
chore: docker improve cache

83d5d3493ff37d639c4584ff20e98717b126df7c authored almost 2 years ago by Divine <[email protected]>
chore: docker remove logging driver

9392c5bb218845047cc696b27e38f78487268c16 authored almost 2 years ago by Divine <[email protected]>
chore: improve docker tests

74d85f8194109dde4a121adcb0467b0f22223a6a authored almost 2 years ago by Divine <[email protected]>
Merge pull request #2506 from alcaeus/l10-compatibility

Laravel 10 compatibility

7dab675d2416f8616006db7b11a47efe552f5a6f authored almost 2 years ago by Stas <[email protected]>
Report package version when establishing connection (#2507)

0b03010682e5041ea80177a3db2d6509da92a9a5 authored almost 2 years ago by Andreas Braun <[email protected]>
Add missing return types

226a7098c31e282dd33b539d2d9003fc4d40a7cd authored almost 2 years ago by Andreas Braun <[email protected]>
Fix styleCI issues

4da2a9225a01b243bfbc90f25b675555643b2954 authored almost 2 years ago by Andreas Braun <[email protected]>
Fix auth test for Laravel 10

ba66a4ef8757095127ce9fc27b1686eb07d34575 authored almost 2 years ago by Andreas Braun <[email protected]>
Update tested PHP versions

02df6cbd5aae85679d2f2f80020eaf6b2114ecdf authored almost 2 years ago by Andreas Braun <[email protected]>
Update handling of dates for Laravel 10

2ea1a7c0aee085c382349613d399be79a0bd1f1a authored almost 2 years ago by Andreas Braun <[email protected]>
Remove deprecated PHPUnit call

8bb0199a14035f285a0d6209c20d1e64cb67cc5d authored almost 2 years ago by Andreas Braun <[email protected]>
Remove dependency on doctrine/dbal

e5f3571ad0b162b5b92160e50eec0d5a98353fee authored almost 2 years ago by Andreas Braun <[email protected]>
Rename getBaseQuery method to toBase

a141614909d3c3f85668465a0ca9a7e510fb5bf1 authored almost 2 years ago by Andreas Braun <[email protected]>
chore: disable php 8.0 in gh builds

452a0bbb7f6e15cd3301508bc3e54b433059ac08 authored almost 2 years ago by Divine <[email protected]>
chore: update minimum stability

37236c08b103731d8ae4c70e87531fcececdbd8f authored almost 2 years ago by Divine <[email protected]>
Bump dependencies for Laravel 10

7807734c40ac72a3fec858f3932393beb6a85caa authored almost 2 years ago by Shift <[email protected]>
Merge pull request #2498 from jenssegers/pr_2318

fix: morphTo when relation name is in camel case

098347c1b8cbc5d7e2076a111e2bbfc66c65a628 authored almost 2 years ago by Stas <[email protected]>
fix: keep camel cased name except for `getMorphs`

bd351577eb8ccc5ebb4e48a8464c2564bd73bb33 authored almost 2 years ago by Will Taylor-Jackson <[email protected]>
tests: for snake case morph relation name

23b6fe9a2f295f9df67faa87bbc13a837cce95bb authored almost 2 years ago by Will Taylor-Jackson <[email protected]>
Add Geonear instructions to ReadMe. Closes #1878 (#2487)

* create aggregate geonear instructions

* create aggregate geonear instructions

* create a...

551ec9fe8a80d23cc2ee3d2b768dc602d16df8bf authored almost 2 years ago by Henrique Troiano <[email protected]>
fix: whereBelongsTo (#2454)

* override getQualifiedForeignKeyName() and add tests for whereBelongsTo

* delete unneeded qu...

317f70222eccb3ac5b173612ecc7372e904f0836 authored almost 2 years ago by Hikmat <[email protected]>
Transaction support (#2465)

* Add support for transactions

Co-authored-by: klinson <[email protected]>
Co-authored-by: lev...

e5e91936b7537354672df27e7cfbeec7fa2fb2d1 authored about 2 years ago by Andreas Braun <[email protected]>
Use single connection using DSN for testing (#2462)

* Always use connection string in tests

* Document DSN configuration as preferred configurati...

0606fc05788a45ec954ea6fcda2e78d910b2e398 authored about 2 years ago by Andreas Braun <[email protected]>
Chore: add types where safe (#2464)

* Use direct method calls over call_user_func_array

* Add return types where safely possible
...

560e05e7d80a5765f2b85ae02a490a17fb3ee6db authored about 2 years ago by Andreas Braun <[email protected]>
Pass timeout in milliseconds (#2461)

dbde5127ab763a737df6cfcb63ff58206d810144 authored about 2 years ago by Andreas Braun <[email protected]>
chore: test firstOrCreate method for the model (#2399)

42e010075a62dd57756c460664c9c1c9803ffde8 authored about 2 years ago by abofazl rasoli <[email protected]>
Add info about new release 3.9.2 (#2440)

* Add info about new release 3.9.2

* chore: update changelog

Co-authored-by: Divine <48183...

61cc6ed41b9b436f83be53089e5b485faafe46fc authored over 2 years ago by Stas <[email protected]>
Merge pull request #2420 from apeisa/fix/stringable-sort

[3.9] Fix/stringable sort

5bcc82eb371d402f5576487f5ddd260bda272425 authored over 2 years ago by Stas <[email protected]>
Merge pull request #2438 from RosemaryOrchard/pr/2394

[3.9] Respect Laravel 9's single word name mutators

41a9c979ed9912e7440aa1eb0886c37b139fdccc authored over 2 years ago by Stas <[email protected]>
Add tests for the mutator

c27924cff38c264db95dd7317daef3addfd154e1 authored over 2 years ago by Rosemary Orchard <[email protected]>
Merge branch 'pr/2394' of github.com:RosemaryOrchard/laravel-mongodb into pr/2394

55e80a2aada0bde24f5a9e8ee5f37ce1d568d852 authored over 2 years ago by Rosemary Orchard <[email protected]>
Fix formatting

More CS-Fixer formatting, unrelated to the PR

PSR2?!

6b11977468929e744bd07d9eba827b513e49fd04 authored over 2 years ago by Rosemary Orchard <[email protected]>
Merge branch 'jenssegers:master' into pr/2394

9b3ffc2d4f86d42b9b3d7710cb858f76ed79092f authored over 2 years ago by Rosemary Orchard <[email protected]>
PSR2?!

e5a8272816b29587c7022276d9ad9ed40cd178e0 authored over 2 years ago by Rosemary Orchard <[email protected]>
More CS-Fixer formatting, unrelated to the PR

79fad0e9e7bb772ea658e41cc5993370d19a7a39 authored over 2 years ago by Rosemary Orchard <[email protected]>
Fix formatting

ce693a8cfbea811fe506d540528cda3714e41e99 authored over 2 years ago by Rosemary Orchard <[email protected]>
Update tests/QueryTest.php

Co-authored-by: Divine <[email protected]>

f670c5fe5ac8a6775d97e11632dc3e1de01aa054 authored over 2 years ago by Antti Peisa <[email protected]>
Update tests/QueryTest.php

Co-authored-by: Divine <[email protected]>

f7895bcfd5e57dbc22c9119efdda5850ba15292d authored over 2 years ago by Antti Peisa <[email protected]>
style code fixes pt. 3

3a87b28aaaa352bcdffc3e106733f64caab3c5dd authored over 2 years ago by Antti Peisa <[email protected]>
make the stringable object type safe

ed86610b85245653f8aa83f6deab7b71da92039a authored over 2 years ago by Antti Peisa <[email protected]>
style code fixes pt. 2

50221ef37edd448605d7b9686402aeb220b902a5 authored over 2 years ago by Antti Peisa <[email protected]>
style code fixes

496f8a0ba7a04637ba6b3c52edb6feef6ffc3581 authored over 2 years ago by Antti Peisa <[email protected]>
support stringable objects when sorting

f6c96783d423e45b5b950f2dee28cfdcae44d127 authored over 2 years ago by Antti Peisa <[email protected]>
Merge pull request #2365 from jenssegers/update-changelog

chore: update changelog and prepare release

ad4422a98da47c1dad1fc7464e3370269be7a51d authored over 2 years ago by Stas <[email protected]>
Respect new Laravel accessors's approach

Fix getting a value from a one-word `\Illuminate\Database\Eloquent\Casts\Attribute`-returning ac...

5d292a2b8a250678206e3c4ec5c4920fef2c526b authored over 2 years ago by Pavel Borunov <[email protected]>