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: 6 days 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-15T08:19:03.000Z (over 3 years ago)
- Last Synced: 2024-05-01T14:33:05.058Z (over 1 year ago)
- Topics: data-breach, haveibeenpwned, laravel, laravel-framework, laravel-package, password, security, validation
- Language: PHP
- Size: 7.81 KB
- Stars: 3
- 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()],
]);
```