Answers for "check valid password in laravel"

2

how validate the password to strong password in laravel

use IlluminateValidationRulesPassword;


$request->validate([
    'password' => [
        'required',
        'confirmed',
        Password::min(8)
            ->mixedCase()
            ->letters()
            ->numbers()
            ->symbols()
            ->uncompromised(),
    ],
]);
Posted by: Guest on July-06-2021

Browse Popular Code Answers by Language