Download the PHP package divineomega/password_exposed without Composer
On this page you can find all versions of the php package divineomega/password_exposed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download divineomega/password_exposed
More information about divineomega/password_exposed
Files in divineomega/password_exposed
Package password_exposed
Short Description This PHP package provides a `password_exposed` helper function, that uses the haveibeenpwned.com API to check if a password has been exposed in a data breach.
License LGPL-3.0-only
Homepage https://github.com/DivineOmega/password_exposed
Informations about the package password_exposed
🔒 Password Exposed Helper Function
This PHP package provides a password_exposed
helper function, that uses the haveibeenpwned.com API to check if a password has been exposed in a data breach.
Installation
The password_exposed
package can be easily installed using Composer. Just run the following command from the root of your project.
If you have never used the Composer dependency manager before, head to the Composer website for more information on how to get started.
Usage
To check if a password has been exposed in a data breach, just pass it to the password_exposed
method.
Here is a basic usage example:
If you prefer to avoid using helper functions, the following syntax is also available.
SHA1 Hash
You can also supply the SHA1 hash instead of the plain text password, by using the following method.
or...
All versions of password_exposed with dependencies
psr/http-client Version ^1.0
psr/cache Version ^1.0
psr/http-message Version ^1.0
psr/http-message-implementation Version ^1.0
psr/http-factory-implementation Version ^1.0
php-http/discovery Version ^1.6
nyholm/psr7 Version ^1.0
paragonie/certainty Version ^2.4
divineomega/do-file-cache-psr-6 Version ^2.0
divineomega/psr-18-guzzle-adapter Version ^1.0