ethercreative/yii2-beenpwned-validator

A validator to check for compromised data, through the https://haveibeenpwned.com/ API

Installs: 46

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 1

Open Issues: 0

pkg:composer/ethercreative/yii2-beenpwned-validator

0.1.1 2017-10-23 10:13 UTC

This package is not auto-updated.

Last update: 2025-09-28 09:14:37 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