Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

marcreichel/password-exposed-rule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()],
]);