Skip to content

Instantly share code, notes, and snippets.

@marcaum54
Last active November 11, 2015 19:44
Show Gist options
  • Save marcaum54/3270a3f98382e3db567a to your computer and use it in GitHub Desktop.
Save marcaum54/3270a3f98382e3db567a to your computer and use it in GitHub Desktop.
Laravel - Strong Password Regex
[
'password' => ['required', 'min:8', 'regex:^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=!?]).*$']
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment