I have a model stored in a variable like:
$user = User::where('name', 'like', $test)
I would like to build another query where I can join
$user. Can’t find the right syntax to do it.
from Newest questions tagged laravel-5 – Stack Overflow https://ift.tt/2HkR8F6