An open API service indexing awesome lists of open source software.

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

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