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 yesterday

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 35% 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

3213d 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

[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k52](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13926.0k65](/packages/skeeks-cms)

PHPackages © 2026

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