Password-strength validator bundle for Symfony

Installs: 2 857 545

Dependents: 6

Suggesters: 1

Security: 0

Stars: 139

Watchers: 2

Forks: 26

Open Issues: 0


v3.0.0 2023-11-21 14:41 UTC


This Symfony-bundle integrates the Rollerworks PasswordStrengthValidator into your Symfony application.

The PasswordStrengthValidator provides various password strength validators for the Symfony Validator.

This bundle provides the same level of functionality as the PasswordStrengthBundle created by John Bafford. And is considered a replacement of the original bundle.


To install this package, add rollerworks/password-strength-bundle to your composer.json:

$ php composer.phar require rollerworks/password-strength-bundle

Now, Composer will automatically download all required files, and install them for you.

Symfony Flexis assumed to enable the Bundle and add required configuration.

Otherwise enable the Rollerworks\Bundle\PasswordStrengthBundle\RollerworksPasswordStrengthBundle.


You need at least PHP PHP 8.2, mbstring is recommended but not required, and at least Symfony 6.

Basic Usage

Documentation for the various constraints can be found in the PasswordStrengthValidator package.


For transparency and insight into the release cycle, and for striving to maintain backward compatibility, this package is maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:


And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major (and resets the minor and patch)
  • New additions without breaking backward compatibility bumps the minor (and resets the patch)
  • Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit


This library is released under the MIT license.


This is an open source project. If you'd like to contribute, please read the Contributing Guidelines. If you're submitting a pull request, please follow the guidelines in the Submitting a Patch section.