Answers for "force password validate 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

Code answers related to "force password validate laravel"

Browse Popular Code Answers by Language