承接 texxasrulez/pwstrength_meter 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

texxasrulez/pwstrength_meter

最新稳定版本:0.1

Composer 安装命令:

composer require texxasrulez/pwstrength_meter

包简介

Password strength meter for Roundcube's password screen.

README 文档

README

Packagist Downloads Packagist Version Github License GitHub Stars GitHub Issues GitHub Contributors GitHub Forks Donate Paypal

A small Roundcube plugin that adds a live password strength meter to the Settings → Password screen (provided by the official password plugin). It displays a color gradient bar and a label that updates as you type.

Features

  • Zero-config: works with the standard Roundcube password plugin UI
  • Color Gradient visual meter + textual label (Very weak → Very strong)
  • Sensible heuristic: length, character variety, and simple pattern penalties
  • Skin‑friendly, minimal CSS

Requirements

  • Roundcube 1.5+ (tested with modern builds)
  • The official password plugin enabled

Installation

  1. Copy this folder to your Roundcube plugins/ directory as pwstrength_meter.
  2. Enable it by adding to your Roundcube config (e.g. config/config.inc.php):
    $config['plugins'][] = 'pwstrength_meter';
  3. Ensure the password plugin is enabled and accessible under Settings → Password.

No additional configuration is needed. The meter will appear under the "new password" input on the password page.

How it works

The plugin injects a small JS/CSS bundle only on the password page. The JS locates the most likely "new password" input (by name/id heuristics) and renders a 5‑segment meter beneath it. The score ranges 0–5 and is based on length, character class variety, and a few simple penalties for repeats and sequences.

Accessibility

  • The meter exposes aria attributes and a text label announcing the current strength.

Customization

You can tweak colors and spacing in pwstrength_meter.css. The JS heuristic is in js/pwstrength_meter.js if you want a different scoring model.

Localization

Add files under localization/xx_XX.inc with a $labels array mirroring en_US.inc keys.

Screenshot

Password Strength Meter

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2025-09-07