File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 11# Laravel Validator Rules - Exposed Password
22
3- This rule will validate that a password hasn't been exposed.
4-
3+ This rule will validate that a password hasn't been exposed in a data breach.
54
65## Installation
76
87``` bash
98composer require laravel-validation-rules/exposed-password
109```
1110
12-
1311## Usage
1412
13+ ``` php
14+ use DivineOmega\LaravelPasswordExposedValidationRule\PasswordExposed;
15+
16+ $request->validate([
17+ 'password' => ['required', new PasswordExposed],
18+ ]);
19+ ```
1520
1621### License
17- This project is licensed under an Apache 2.0 license which you can find
22+ This project is licensed under a GNU Lesser General Public License v3.0 which you can find
1823[ in this LICENSE] ( https://github.com/laravel-validation-rules/exposed-password/blob/master/LICENSE ) .
1924
2025
Original file line number Diff line number Diff line change 11{
22 "name" : " laravel-validation-rules/exposed-password" ,
3+ "description" : " Metapackage for https://github.com/DivineOmega/laravel-password-exposed-validation-rule" ,
34 "version" : " 1.1.0" ,
45 "type" : " metapackage" ,
56 "require" : {
67 "divineomega/laravel-password-exposed-validation-rule" : " 1.1.0"
7- }
8+ },
9+ "license" : " LGPL-3.0-only"
810}
You can’t perform that action at this time.
0 commit comments