Answers for "add validate to laravel password reser"

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 "add validate to laravel password reser"

Browse Popular Code Answers by Language