You could look at PHP's array_merge or array_combine (after you have converted the results to arrays) and then convert the output to a Collection if you needed it.
Or better still, I'd probably look at running a raw DB query to get the data you wanted. It sounds to me like the standard Eloquent result sets won't cut it in this case.
If someone else has a solution to merge collections, that might be better. I've not heard of one yet though.
Hope it helps.
you could try to use merger method. http://laravel.com/api/5.1/Illuminate/Database/Eloquent/Collec...
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us