marcreichel / password-exposed-rule

Laravel Validation rule to check that a password hasn't been exposed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package development abandoned due to official support for uncompromised passwords.

Laravel Password Exposed Rule

Laravel Validation rule to check that a password hasn't been exposed

Installation

Install this rule via composer.

composer require marcreichel/password-exposed-rule

Usage (Code snippet)

use MarcReichel\ExposedPassword\NotExposed;

$request->validate([
    'password' => ['required', new NotExposed()],
]);

About

Laravel Validation rule to check that a password hasn't been exposed

License:MIT License


Languages

Language:PHP 100.0%