Skip to content

Instantly share code, notes, and snippets.

@cursosdesarrolloweb
Last active November 19, 2021 07:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cursosdesarrolloweb/684c6b980d31d3a22570163ea91ff8db to your computer and use it in GitHub Desktop.
Save cursosdesarrolloweb/684c6b980d31d3a22570163ea91ff8db to your computer and use it in GitHub Desktop.
<?php
use Illuminate\Validation\Rules\Password;
// más código
'password' => [
'required',
'max:50',
Password::min(8)
->mixedCase()
->letters()
->numbers()
->symbols()
->uncompromised(),
],
"password_confirmation" => "required|min:8|max:50|same:password",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment