https://github.com/marcreichel/password-exposed-rule
Laravel Validation rule to check that a password hasn't been exposed
https://github.com/marcreichel/password-exposed-rule
data-breach haveibeenpwned laravel laravel-framework laravel-package password security validation
Last synced: 5 months ago
JSON representation
Laravel Validation rule to check that a password hasn't been exposed
- Host: GitHub
- URL: https://github.com/marcreichel/password-exposed-rule
- Owner: marcreichel
- License: mit
- Archived: true
- Created: 2019-11-07T17:53:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-15T08:19:03.000Z (over 4 years ago)
- Last Synced: 2025-10-07T06:37:12.358Z (8 months ago)
- Topics: data-breach, haveibeenpwned, laravel, laravel-framework, laravel-package, password, security, validation
- Language: PHP
- Size: 7.81 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> Package development abandoned due to [official support for uncompromised passwords](https://laravel.com/docs/validation#validating-passwords).
# Laravel Password Exposed Rule
Laravel Validation rule to check that a password hasn't been exposed
## Installation
Install this rule via composer.
```bash
composer require marcreichel/password-exposed-rule
```
## Usage (Code snippet)
```php
use MarcReichel\ExposedPassword\NotExposed;
$request->validate([
'password' => ['required', new NotExposed()],
]);
```