Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 2.93 KB

README.md

File metadata and controls

64 lines (43 loc) · 2.93 KB

haveibeenpwned-library

Github actions workflow status Coveralls Packagist version Packagist license

Integrate HaveIBeenPwned API with your projects.

If you like this package, pay me a beer (or a coffee) paypal.me

Compatibility

PHP

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:

composer require webeweb/haveibeenpwned-library

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Usage

Read the documentation.

Testing

To test the package, is better to clone this repository on your computer. Open a command console and execute the following commands to download the latest stable version of this package:

git clone https://github.com/webeweb/haveibeenpwned-library.git
cd haveibeenpwned-library
composer install

Once all required libraries are installed then do:

vendor/bin/phpunit

IMPORTANT NOTICE: To test the package with your API key, pastes it into a .token file at the root of this package.

License

haveibeenpwned-library is released under the MIT License. See the bundled LICENSE file for details.

Donate

If you like this work, please consider donating at paypal.me