nilpo/haveibeenpwned

A simple consumer for the HaveIBeenPwned API written in PHP.

dev-master 2016-07-18 01:29 UTC

This package is not auto-updated.

Last update: 2024-10-04 22:15:45 UTC


README

Build Status Total Downloads

HIBP is a simple consumer for the HaveIBeenPwned API written for PHP 5.3+.

haveibeenpwned is a simple and flexible API for checking an email address or user name against an aggregated list of dump files for major security breaches.

Installation

Composer

HIBP is PSR-4 compliant and can be installed using composer. Simply add nilpo/haveibeenpwned to your composer.json file. Composer is the sane alternative to PEAR. It is excellent for managing dependencies in larger projects.

{
    "require": {
        "nilpo/haveibeenpwned": "*"
    }
}

Usage

See example.php for a simple usage example.

Changelog

0.1.0

  • First public release