ethercreative / yii2-beenpwned-validator
A validator to check for compromised data, through the https://haveibeenpwned.com/ API
0.1.1
2017-10-23 10:13 UTC
Requires
- guzzlehttp/guzzle: ^6.3
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-02-16 05:55:56 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
composer require ethercreative/yii2-beenpwned-validator
or add
"ethercreative/yii2-beenpwned-validator": "*"
to the require section of your composer.json
file.
Usage
public function rules() { return [ ['password', '\ethercreative\validators\BeenPwned'], ]; }
Todo
- Add option to check account
- Add option to check pastes
- Add option for
originalPasswordIsAHash