left join query laravel eloquent with aggregate code example Example: DB::table('users')->get(); DB::table('users')->where('name', Input::get('name'))->get();