Answers for "create password hash laravel in validation"

PHP
8

laravel create password hash

$password = Hash::make('yourPa$$w0rd');
Posted by: Guest on May-15-2020
2

how validate the password to strong password in laravel

use Illuminate\Validation\Rules\Password;


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

Code answers related to "create password hash laravel in validation"

Browse Popular Code Answers by Language