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)114.7k—0%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 today

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

Maintenance34

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

658d 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.0k338.8M5.0k](/packages/symfony-http-client)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[web-token/jwt-framework

JSON Object Signing and Encryption library for PHP and Symfony Bundle.

95220.7M103](/packages/web-token-jwt-framework)[sulu/sulu

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

1.3k1.4M203](/packages/sulu-sulu)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k13.0M218](/packages/simplesamlphp-simplesamlphp)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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