eyal-shalev / pwned
A client that exposes the https://haveibeenpwned.com APIs.
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/eyal-shalev/pwned
Requires
- php: >=5.5.9
- guzzlehttp/guzzle: ^6.1
Requires (Dev)
- phpunit/phpunit: ~4.8
This package is auto-updated.
Last update: 2025-09-20 01:09:16 UTC
README
This library exposes the https://haveibeenpwned.com APIs.
Features
- An intuitive client class
- APIs:
- BreachesForAccount
- AllBreaches
- SingleBreach
- AllDataClasses
- PHPUnit tests
Dependencies
- guzzlehttp/guzzle: ^6.1
Installation
require eyal-shalev/pwned
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');