PHPackages                             griffolion/pwned - 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. [API Development](/categories/api)
4. /
5. griffolion/pwned

ActiveLibrary[API Development](/categories/api)

griffolion/pwned
================

A small library for checking the status of a password against the HaveIBeenPwned database.

v1.2.1(3y ago)07MITPHPPHP &gt;=7.1CI failing

Since Feb 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Griffolion/pwned)[ Packagist](https://packagist.org/packages/griffolion/pwned)[ RSS](/packages/griffolion-pwned/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (10)Used By (0)

[![PHPUnit](https://github.com/Griffolion/pwned/workflows/PHPUnit/badge.svg)](https://github.com/Griffolion/pwned/workflows/PHPUnit/badge.svg)

HaveIBeenPwnedRangeChecker
==========================

[](#haveibeenpwnedrangechecker)

A small, simple library for checking a password against the [HaveIBeenPwned password checker API](https://haveibeenpwned.com/API/v3#PwnedPasswords).

Passwords appearing in the search results of the API have appeared in breached databases, and thus any accounts using such a password are at greater risk of being breahced.

Requirements
------------

[](#requirements)

- PHP 7.1 or above
- Curl

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

[](#installation)

`composer require griffolion/pwned`

Basic Usage
-----------

[](#basic-usage)

```
use Pwned\Range;
...
$pwnedCount = (new Range())->check("password");
if ($pwnedCount > 0) {
    echo "Your password is at risk!";
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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 ~138 days

Recently: every ~242 days

Total

8

Last Release

1306d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bd9b1ab550a46e8e401c1e82c23388e51800ab2d5a1360e703297569bccd6d4?d=identicon)[Griffolion](/maintainers/Griffolion)

---

Top Contributors

[![diahall](https://avatars.githubusercontent.com/u/97476004?v=4)](https://github.com/diahall "diahall (7 commits)")[![theandyhall](https://avatars.githubusercontent.com/u/8260059?v=4)](https://github.com/theandyhall "theandyhall (6 commits)")

---

Tags

apiapi-clienthaveibeenpwnedpasswordpasswordsphpphp-libraryphp7php8php80php81

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/griffolion-pwned/health.svg)

```
[![Health](https://phpackages.com/badges/griffolion-pwned/health.svg)](https://phpackages.com/packages/griffolion-pwned)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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