PHPPwnedPasswordsDownloader is a tool to download pwned password hash files from HaveIBeenPwned API.
The hash files can be sorted, indexed and cached to perform faster look ups of pwned password. The tool also has a CLI lookup tool to check if the entered password or hash is in the pwned passwords hash files.
This tool is written in PHP so, it can be either run from the CLI or integrated into any site you want by instantiating the classes.
Documentation for this repository
Thanks to the following projects for their great work. Without them, this project would not be possible.
Composer
Guzzle - https://github.com/guzzle/guzzle
Flysystem - https://github.com/thephpleague/flysystem
PHP Cli Tools - https://github.com/wp-cli/php-cli-tools
Carbon (An API extension for DateTime) - https://github.com/briannesbitt/Carbon
PwnedPasswordsDownloader - https://github.com/HaveIBeenPwned/PwnedPasswordsDownloader (main source of inspiration)
Feel free to open an issue in case of a bug or to discuss anything related to the tool or to add a new feature.
Time is valuable. If you feel this project has been helpful and it has saved your time worth a coffee or a beer...
If you would like to develop a PHP application that requires expert level programming. I am available for hire. Message me and we can discuss further.