PHPackages                             darookee/pwnwedpassword-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. darookee/pwnwedpassword-validator

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

darookee/pwnwedpassword-validator
=================================

PwnedPassword Validator Constraint for Symfony

1.0.1(7y ago)2478MITPHP

Since Feb 23Pushed 7y agoCompare

[ Source](https://github.com/darookee/pwnwedpassword-validator)[ Packagist](https://packagist.org/packages/darookee/pwnwedpassword-validator)[ RSS](/packages/darookee-pwnwedpassword-validator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

haveibeenpwned Validator Constraint
===================================

[](#haveibeenpwned-validator-constraint)

This Validator uses curl to query the  API for the first 5 chars of the SHA1 of a value, that is to be validated. If it finds the exact SHA1 hash in the response it will add a validation error.

Usage
-----

[](#usage)

```
use R\Validator\Constraints as RAssert;

class MyEntity {

    /**
    * @RAssert\PwnedPasswords()
    **/
    var $password;
}

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~273 days

Total

2

Last Release

2726d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86ed5e8caca6503f2d33cd1fe900aa5358d13235a9a1a2195720d60645e6b56a?d=identicon)[darookee](/maintainers/darookee)

---

Top Contributors

[![darookee](https://avatars.githubusercontent.com/u/104579?v=4)](https://github.com/darookee "darookee (2 commits)")

---

Tags

symfonyvalidatorpassword

### Embed Badge

![Health badge](/badges/darookee-pwnwedpassword-validator/health.svg)

```
[![Health](https://phpackages.com/badges/darookee-pwnwedpassword-validator/health.svg)](https://phpackages.com/packages/darookee-pwnwedpassword-validator)
```

###  Alternatives

[rollerworks/password-strength-validator

Password-strength validator for Symfony

1455.7M6](/packages/rollerworks-password-strength-validator)[rollerworks/password-strength-bundle

Password-strength validator bundle for Symfony

1433.7M6](/packages/rollerworks-password-strength-bundle)

PHPackages © 2026

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