In my routes.php file I have :
Route::get(\'/\', function () {
return view(\'login\');
});
Route::get(\'/index\', function(){
return v
In larvel => 6 Version:
Input no longer exists In larvel 6,7,8 Version. Use Request instead of Input.
Based on the Laravel docs, since version 6.x Input has been removed.
The Input Facade
Likelihood Of Impact: Medium
The
Inputfacade, which was primarily a duplicate of theRequestfacade, has been removed. If you are using theInput::getmethod, you should now call theRequest::inputmethod. All other calls to the Input facade may simply be updated to use theRequestfacade.
use Illuminate\Support\Facades\Request;
..
..
..
public function functionName(Request $request)
{
$searchInput = $request->q;
}