laravel 5.4 withInput as different name code example Example: laravel redirect back with errors and input return redirect()->back()->withInput();