PHPackages                             eyal-shalev/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. eyal-shalev/pwned

ActiveLibrary[API Development](/categories/api)

eyal-shalev/pwned
=================

A client that exposes the https://haveibeenpwned.com APIs.

1.1(9y ago)023MITPHPPHP &gt;=5.5.9

Since Jun 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Eyal-Shalev/pwned)[ Packagist](https://packagist.org/packages/eyal-shalev/pwned)[ RSS](/packages/eyal-shalev-pwned/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Introduction
------------

[](#introduction)

This library exposes the [https://haveibeenpwned.com](haveibeenpwned) APIs.

Features
--------

[](#features)

- An intuitive client class
- APIs:
    - BreachesForAccount
    - AllBreaches
    - SingleBreach
    - AllDataClasses
- PHPUnit tests

Dependencies
------------

[](#dependencies)

- guzzlehttp/guzzle: ^6.1

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

[](#installation)

`require eyal-shalev/pwned`

Usage example
-------------

[](#usage-example)

**The following will return all the breaches under the adobe.com domain.**

```
$client = new \EyalShalev\Pwned\Client('eyal-shalev/pwned:test', 2);
$breaches = $client->getAllBreaches('adobe.com');

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

3631d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4db43cccd10ea1680d8144f61d776caf275382157397c0c1395cb2a65ce0396?d=identicon)[Eyal-Shalev](/maintainers/Eyal-Shalev)

---

Top Contributors

[![Eyal-Shalev](https://avatars.githubusercontent.com/u/909954?v=4)](https://github.com/Eyal-Shalev "Eyal-Shalev (13 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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