pxgamer/pwned-api

An API wrapper for the HaveIBeenPwned API.

v1.1.2 2017-12-06 10:08 UTC

This package is auto-updated.

Last update: 2024-10-11 15:49:53 UTC


README

Latest Version on Packagist Software License Build Status Style CI Code Coverage Total Downloads

An API wrapper for the Have I Been Pwned API.

Structure

src/
tests/
vendor/

Install

Via Composer

$ composer require pxgamer/pwned-api

Usage

This is currently up to date with version 2 of the API and allows use of the following:

  • Breaches
    • Getting all breaches for an account 1
    • Getting all breached sites in the system 2
    • Getting a single breached site 3
    • Getting an array of data classes 4
  • Pastes
    • Getting all pastes for an account 5

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.