return redirect back laravel with old input data code example Example: laravel redirect back with errors and input return redirect()->back()->withInput();