with('queries'); if (Input::get('method')) { $filters[] = 'method'; $httpLog = $httpLog->where('method', Input::get('method')); } if (Input::get('url')) { $filters[] = 'url'; $httpLog = $httpLog->where('url', Input::get('url')); } $httpLog = $httpLog->paginate(25); return view('profiler::index', compact('httpLog')); } }