Skip to content

πŸ”’ Laravel validation rule that checks if a password has been exposed in a data breach.

License

Notifications You must be signed in to change notification settings

codepotato/laravel-password-exposed-validation-rule

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”’ Laravel Password Exposed Validation Rule

This package provides a Laravel validation rule that checks if a password has been exposed in a data breach.

StyleCI

Installation

To install, just run the following Composer command.

composer require divineomega/laravel-password-exposed-validation-rule

Please note that this package requires Laravel 5.1 or above.

Usage

The following code snippet shows an example of how to use the password exposed validation rule.

use DivineOmega\LaravelPasswordExposedValidationRule\PasswordExposed;

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

It is also worth noting that due to the underlying API calls, your environment will need a working SSL certificate

About

πŸ”’ Laravel validation rule that checks if a password has been exposed in a data breach.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%