I\'m really new to PHP and Laravel and so far I managed to join query two tables... it looks something like this...
$data = DB::table(\'users\') -