PHPackages                             ethercreative/yii2-beenpwned-validator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. ethercreative/yii2-beenpwned-validator

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

ethercreative/yii2-beenpwned-validator
======================================

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

0.1.1(8y ago)1461MITPHP

Since Oct 23Pushed 8y ago2 watchersCompare

[ Source](https://github.com/ethercreative/yii2-beenpwned-validator)[ Packagist](https://packagist.org/packages/ethercreative/yii2-beenpwned-validator)[ RSS](/packages/ethercreative-yii2-beenpwned-validator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Yii2 BeenPwned Validator
========================

[](#yii2-beenpwned-validator)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require ethercreative/yii2-beenpwned-validator
```

or add

```
"ethercreative/yii2-beenpwned-validator": "*"
```

to the require section of your `composer.json` file.

Usage
=====

[](#usage)

```
public function rules()
{
    return [
        ['password', '\ethercreative\validators\BeenPwned'],
    ];
}
```

Todo
====

[](#todo)

- Add option to check account
- Add option to check pastes
- Add option for `originalPasswordIsAHash`

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3122d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/807df0a17d1291238650a6652a05231e0eecc1e7236480762cbb674a6fe61198?d=identicon)[mattether](/maintainers/mattether)

---

Tags

validatormodelyii2

### Embed Badge

![Health badge](/badges/ethercreative-yii2-beenpwned-validator/health.svg)

```
[![Health](https://phpackages.com/badges/ethercreative-yii2-beenpwned-validator/health.svg)](https://phpackages.com/packages/ethercreative-yii2-beenpwned-validator)
```

###  Alternatives

[paulzi/yii2-json-behavior

Yii2 json attribute behavior

76528.6k3](/packages/paulzi-yii2-json-behavior)[codeonyii/yii2-at-least-validator

Validates at least one (or more) attributes.

28253.5k1](/packages/codeonyii-yii2-at-least-validator)[cebe/yii2-lifecycle-behavior

Define the lifecycle of a model by defining allowed satus changes in terms of a state machine.

5119.8k1](/packages/cebe-yii2-lifecycle-behavior)[arogachev/yii2-many-to-many

Many-to-many ActiveRecord relation for Yii 2 framework

3541.2k4](/packages/arogachev-yii2-many-to-many)[yiibr/yii2-br-validator

Provide validations and features for brazilian localization

14103.2k4](/packages/yiibr-yii2-br-validator)[dstotijn/yii2-json-schema-validator

A Yii2 extension that provides a validator class for JSON Schema validation.

1730.7k](/packages/dstotijn-yii2-json-schema-validator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
