PHPackages                             webcito/bs-password - 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. webcito/bs-password

ActiveLibrary[Security](/categories/security)

webcito/bs-password
===================

description

1.0.0(1y ago)135proprietaryPHP

Since Nov 1Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/ThomasDev-de/bsPassword)[ Packagist](https://packagist.org/packages/webcito/bs-password)[ RSS](/packages/webcito-bs-password/feed)WikiDiscussions main Synced today

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

bsPassword
==========

[](#bspassword)

jQuery plugin for password validation with Bootstrap UI (strength bar, requirements list, show/hide button, repeat check).

Features
--------

[](#features)

- Validates password rules live while typing
- Displays visual strength/progress via progress bar
- Optional repeat-password comparison
- Optional submit button enable/disable
- Autofill reduction for password fields (`autocomplete="new-password"` plus password manager hints)

Requirements
------------

[](#requirements)

- jQuery
- Bootstrap (including Collapse + styles)
- Optional: Bootstrap Icons

Installation
------------

[](#installation)

Include the project file:

```

```

Usage
-----

[](#usage)

```

  Password

  Repeat password

Register

  $('#password').bsPassword({
    activationButton: '#registerBtn',
    passwordRepeat: '#passwordRepeat'
  });

```

Options
-------

[](#options)

```
$('#password').bsPassword({
  disableAutofill: true,
  activationButton: null,
  passwordRepeat: null,
  conditions: {
    minLength: 10,
    minLengthTitle: 'Password must be at least %value% characters long',
    minLowercase: 1,
    minLowercaseTitle: 'At least %value% lowercase letters',
    minUppercase: 1,
    minUppercaseTitle: 'At least %value% uppercase letters',
    minNumbers: 1,
    minNumbersTitle: 'At least %value% numbers',
    minSpecialChars: 1,
    specialChars: '\\$@#&!()=\\-.%',
    minSpecialCharsTitle: 'At least %value% special characters ($@#&!()=-.%)'
  },
  classes: {
    toggleButton: 'btn btn-outline-secondary rounded-end'
  },
  icons: {
    show: 'bi bi-eye',
    hide: 'bi bi-eye-slash',
    success: 'bi bi-check-lg text-success me-1',
    error: 'bi bi-x-lg text-danger me-1'
  }
});
```

When both `activationButton` and `passwordRepeat` are set, the activation button is enabled only if:

- password rules are valid
- repeat password is non-empty and matches

Autofill Note
-------------

[](#autofill-note)

Browsers may still enforce autofill depending on user settings. The plugin applies best-practice attributes (`new-password`, `data-lpignore`, `data-1p-ignore`, etc.) to reduce autofill behavior across common browsers and password managers as much as possible.

Translations
------------

[](#translations)

English is built in as the default translation.
If `window.bsPasswordTranslations` is defined before plugin initialization, its values override the default text keys.

```

```

Available locale files in `dist/locale`:

- `de-DE.js`
- `en-GB.js`
- `es-ES.js`
- `fr-FR.js`
- `it-IT.js`
- `nl-NL.js`
- `pt-PT.js`

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance68

Regular maintenance activity

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

609d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d5f10c16b4b6bd1ac531ffc39c23c569490ec4630829511692c03ec89d36a11?d=identicon)[thomasK81](/maintainers/thomasK81)

---

Top Contributors

[![ThomasDev-de](https://avatars.githubusercontent.com/u/67106837?v=4)](https://github.com/ThomasDev-de "ThomasDev-de (7 commits)")

### Embed Badge

![Health badge](/badges/webcito-bs-password/health.svg)

```
[![Health](https://phpackages.com/badges/webcito-bs-password/health.svg)](https://phpackages.com/packages/webcito-bs-password)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M143](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k38](/packages/paragonie-ecc)

PHPackages © 2026

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