PHPackages                             apedik/module-password-attributes - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. apedik/module-password-attributes

ActiveMagento2-module[Authentication &amp; Authorization](/categories/authentication)

apedik/module-password-attributes
=================================

N/A

1.0.0(2y ago)01Open Software License (OSL)HTML

Since Sep 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/apedicdev/magento-password-attributes)[ Packagist](https://packagist.org/packages/apedik/module-password-attributes)[ RSS](/packages/apedik-module-password-attributes/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Apedik\_PasswordAttributes module
=================================

[](#apedik_passwordattributes-module)

This Magento module adds password attributes to `` element, eg:

``

This is very useful for password managers and browsers to suggest the right password based on password requirements in Magento Password Options and, hopefully, improving conversions too.

For reference:

Apple Password rules:

#### Configuration

[](#configuration)

Magento section`customer/password`:

[![](https://camo.githubusercontent.com/eff3da2525a47ca990536fc8a9f5e9746321d016205f3af099fd0fe2401fae8c/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f39652f30362f343864416c7441735f6f2e706e67)](https://camo.githubusercontent.com/eff3da2525a47ca990536fc8a9f5e9746321d016205f3af099fd0fe2401fae8c/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f39652f30362f343864416c7441735f6f2e706e67)

Configuration path to customer password required character classes number and Minimum Password Length: these are out of box Magento configuration. The module will generate the attributes, pattern and rules based on it.

Configuration path to enable password attributes: If set to Yes, password attributes will be added to `input type="password"` element.

Configuration path to add regex password attributes pattern: If set to Yes, password attribute pattern will be added to `input type="password"` element.

Configuration path to add password rules: If set to Yes, password rules will be added to `input type="password"` element.

When settings are disabled:

```

```

When settings are enabled:

```

```

Testing min. length 40 characters:

[![image host](https://camo.githubusercontent.com/765727ca07b42adcf2abc02b5d2b8fd39a4e317857ddcbeefda43a28606d6da4/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f61652f31642f744b6457505777355f6f2e706e67)](https://camo.githubusercontent.com/765727ca07b42adcf2abc02b5d2b8fd39a4e317857ddcbeefda43a28606d6da4/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f61652f31642f744b6457505777355f6f2e706e67)

The suggested password will satisfy requirements.

MFTF support, for testing different password scenarios.

```
 vendor/bin/mftf run:test StorefrontCreateCustomer4CharsClassesTest

Generate Tests Command Run

Codeception PHP Testing Framework v5.0.11 https://helpukrainewin.org

Magento\FunctionalTestingFramework.functional Tests (1) ------------------------
Modules: \Magento\FunctionalTestingFramework\Module\MagentoWebDriver, \Magento\FunctionalTestingFramework\Module\MagentoSequence, \Magento\FunctionalTestingFramework\Module\MagentoAssert, \Magento\FunctionalTestingFramework\Module\MagentoActionProxies, Asserts, \Magento\FunctionalTestingFramework\Helper\HelperContainer
--------------------------------------------------------------------------------
StorefrontCreateCustomer4CharsClassesTestCest: Storefront create customer4 chars classes test
Signature: Magento\AcceptanceTest\_default\Backend\StorefrontCreateCustomer4CharsClassesTestCest:StorefrontCreateCustomer4CharsClassesTest
Test: tests/functional/Magento/_generated/default/StorefrontCreateCustomer4CharsClassesTestCest.php:StorefrontCreateCustomer4CharsClassesTest
Scenario --
[START BEFORE HOOK]
[minDigitUpperLowercaseSpecialCharPassword] magento cli "config:set customer/password/required_character_classes_number 4",60
Value was saved.
[END BEFORE HOOK]
[openCreateAccountPage] StorefrontOpenCustomerAccountCreatePageActionGroup
  [goToCustomerAccountCreatePage] am on page "/customer/account/create/"
  [waitForPageLoaded] wait for page load 60
[fillCreateAccountForm] StorefrontFillCustomerAccountCreationFormActionGroup
  [fillFirstName] fill field "#firstname","John"
  [fillLastName] fill field "#lastname","Doe"
  [fillEmail] fill field "#email_address","64fe2906a6b99John.Doe@example.com"
  [fillPassword] fill field "#password","Asdfghj1!"
  [fillConfirmPassword] fill field "#password-confirmation","Asdfghj1!"
[submitCreateAccountForm] StorefrontClickCreateAnAccountCustomerAccountCreationFormActionGroup
  [waitForCreateAccountButtonIsActive] wait for page load 60
  [clickCreateAccountButton] click "button.action.submit.primary"
  [clickCreateAccountButtonWaitForPageLoad] wait for page load 30
  [waitForCustomerSaved] wait for page load 60
[seeSuccessMessage] AssertMessageCustomerCreateAccountActionGroup
  [verifyMessage] see "Thank you for registering with Main Website Store.","#maincontent .message-success"
 PASSED

--------------------------------------------------------------------------------
Time: 00:09.844, Memory: 16.00 MB

OK (1 test, 1 assertion)

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

983d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c8095bbaae20c91a96d4e37cdd52b9c0d90ccd5cdea67c22af0e1a5f7f3be1a?d=identicon)[apedicdev](/maintainers/apedicdev)

### Embed Badge

![Health badge](/badges/apedik-module-password-attributes/health.svg)

```
[![Health](https://phpackages.com/badges/apedik-module-password-attributes/health.svg)](https://phpackages.com/packages/apedik-module-password-attributes)
```

###  Alternatives

[markshust/magento2-module-disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.

2282.7M6](/packages/markshust-magento2-module-disabletwofactorauth)[bitexpert/magento2-force-customer-login

The Force Login module for Magento2 redirects a storefront visitor to the Magento2 Frontend login page, if the visitor is not logged in. It is possible to configure the whitelisted urls to add custom definitions.

171409.9k](/packages/bitexpert-magento2-force-customer-login)[faonni/module-product-available

Extension allows the store owner to hide the product price and add to cart button from guests or certain customer groups.

3720.0k](/packages/faonni-module-product-available)[hryvinskyi/magento2-invisible-captcha

Magento 2 Google Invisible Captcha (Recaptcha) module

279.4k](/packages/hryvinskyi-magento2-invisible-captcha)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
