Integrate HaveIBeenPwned API with your projects.
If you like this package, pay me a beer (or a coffee)
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.
Read the documentation.
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.
haveibeenpwned-library
is released under the MIT License. See the bundled LICENSE
file for details.