Your problem is that you are not actually sending the username:
<form role="form" method="POST" action="{{route('signUpPost')}}"> <input type="text" class="form-control" name="username" value="{{ old('username') }}"> </form>
There is no submit button on the form. If you submit outside the form, then username will not be included.
Add a submit button inside your form - then try again
<form role="form" method="POST" action="{{route('signUpPost')}}"> <input type="text" class="form-control" name="username" value="{{ old('username') }}"> <input type="submit" value="Submit"> </form>
Edit - also your controller is wrong. It should be like this:
return redirect()->route('signUp')->withInput();
Laurence
source share