Download the PHP package divineomega/symfony-password-exposed-bundle without Composer
On this page you can find all versions of the php package divineomega/symfony-password-exposed-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download divineomega/symfony-password-exposed-bundle
More information about divineomega/symfony-password-exposed-bundle
Files in divineomega/symfony-password-exposed-bundle
Package symfony-password-exposed-bundle
Short Description Symfony bundle that checks if a password has been exposed in a data breach
License LGPL-3.0-only
Informations about the package symfony-password-exposed-bundle
🔒 Symfony Password Exposed Bundle
This package provides a Symfony bundle that checks if a password has been exposed in a data breach. It uses the haveibeenpwned.com passwords API via the divineomega/password_exposed
library.
Installation
The password_exposed
symfony bundle 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.
Configuration
You can adjust this bundle with some simple configs
Usage
In a controller
To check if a password has been exposed in a data breach, just pass it to the isExposed
method.
Here is a basic usage example for a controller:
As a constraint in a form type
You can also use the password_exposed
checker in a form type with the help of a constraint.
All versions of symfony-password-exposed-bundle with dependencies
symfony/framework-bundle Version ^3.4|^4.0
symfony/dependency-injection Version ^3.4|^4.0
symfony/http-kernel Version ^3.4|^4.0
symfony/config Version ^3.4|^4.0
symfony/yaml Version ^3.4|^4.0
symfony/validator Version ^3.4|^4.0
symfony/translation Version ^3.4|^4.0
symfony/contracts Version ^1.0
divineomega/password_exposed Version ^3.0