I know that I stumble upon a 4-year-old thread, but I came across this and none of the answers was what I was looking for; so, like @Tadas, I will leave my answer to people who come across this. After carefully studying the laravel 5.5 documentation, I found that concat was a go-to method. Thus, in the case of OP, the correct solution would be:
$receipts = Receipt::all(); $reports = Report::all(); $collection = $receipts->concat($reports);
Thus, each element of the Report collection will be added to each element of the Receipts collection, if some fields are identical.
In the end, you can shuffle it to get a more visual attractive result, for example. view:
$collection->shuffle();
source share