PHPackages                             born05/craft-enforcepassword - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. born05/craft-enforcepassword

ActiveCraft-plugin[Security](/categories/security)

born05/craft-enforcepassword
============================

Incrementally enforced new and secure passwords.

2.0.0(3y ago)548.8k↓42.2%1MITPHPPHP ^8.0.2

Since Jan 22Pushed 6mo ago4 watchersCompare

[ Source](https://github.com/roelvanhintum/craft-enforcepassword)[ Packagist](https://packagist.org/packages/born05/craft-enforcepassword)[ RSS](/packages/born05-craft-enforcepassword/feed)WikiDiscussions craft4 Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (18)Used By (0)

Craft Enforce Password plugin
=============================

[](#craft-enforce-password-plugin)

Incrementally enforces a new and secure password not matching the last 5 passwords. Stores password history in a database table.

Validates passwords by the following:

- Minimal length
- Maximum length
- At least 1 uppercase character
- At least 1 lowercase character
- At least 1 digit
- At least 1 symbol
- Can't match username or email
- Different from previous passwords

Config
------

[](#config)

Create a `config/enforce-password.php` with the following contents:

```
