Skip to content

laravel-validation-rules/exposed-password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Laravel Validator Rules - Exposed Password

This rule will validate that a password hasn't been exposed in a data breach.

Installation

composer require laravel-validation-rules/exposed-password

Usage

use DivineOmega\LaravelPasswordExposedValidationRule\PasswordExposed;

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

License

This project is licensed under a GNU Lesser General Public License v3.0 which you can find in this LICENSE.

Feedback

If you have any feedback, comments or suggestions, please feel free to open an issue within this repository.

Laravel Validation Rules

This package is part of the Laravel Validation Rules collection. If you're after more useful validation rules, head to the Laravel Validation Rules website.