PHPackages                             mysof/password-check - 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. [Security](/categories/security)
4. /
5. mysof/password-check

ActiveLibrary[Security](/categories/security)

mysof/password-check
====================

Simple class to check if a provided password is clean using the haveibeenpwned.com API

1.1.0(1y ago)115.0k↑13.9%MITPHP

Since Jul 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mikegsmith76/password-check)[ Packagist](https://packagist.org/packages/mysof/password-check)[ RSS](/packages/mysof-password-check/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

mysof/password-check
====================

[](#mysofpassword-check)

This is a simple class to check if a password is clean utilising havibeenpwned.com API.

This API does not require authentication for password checks.

Example Usage
-------------

[](#example-usage)

This example utilises the Symfony HTTP Client, however any other client implementing \\Symfony\\Contracts\\HttpClient\\HttpClientInterface could be used in its place.

```
$checker = new \MySof\PasswordCheck(
    \Symfony\Component\HttpClient\HttpClient::create()
);

if ($checker->isSafe("password")) {
    print "Password is clean";
} else {
    print "Password has been pwned";
}

```

For further details of the API see

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Total

2

Last Release

703d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e79420e9bbf341e9e654445570dc6425c572c4bf5e34cbcc44625d295cd2069?d=identicon)[mail@mikegsmith.co.uk](/maintainers/mail@mikegsmith.co.uk)

---

Top Contributors

[![mikegsmith76](https://avatars.githubusercontent.com/u/6804090?v=4)](https://github.com/mikegsmith76 "mikegsmith76 (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mysof-password-check/health.svg)

```
[![Health](https://phpackages.com/badges/mysof-password-check/health.svg)](https://phpackages.com/packages/mysof-password-check)
```

###  Alternatives

[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k347.8M5.6k](/packages/symfony-http-client)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M235](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M672](/packages/shopware-core)[contao/core-bundle

Contao Open Source CMS

1301.7M3.1k](/packages/contao-core-bundle)[oro/platform

Business Application Platform (BAP)

645146.3k118](/packages/oro-platform)

PHPackages © 2026

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