Skip to content

Instantly share code, notes, and snippets.


Joel-James/user-name-validation.php Secret

Last active Feb 1, 2016
What would you like to do?
Laravel Username Validation
// Running validation
$this->validate($request, [
'user_id' => 'required|integer|unique:users,user_id'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.