uzzairwebstudio/password-strength

dev-master 2019-09-30 03:01 UTC

This package is auto-updated.

Last update: 2024-09-29 05:48:40 UTC


README

密码强度指示器

这是一个为Laravel编写的密码强度指示器包。指示器算法来源于Dropbox 低成本密码强度估计

安装

首先和最重要的,

composer require uzzairwebstudio/password-strength

然后在您的母版模板中包含包含资产链接的blade文件。

@include('password-strength::asset')

请确保将 'password' id 添加到您的密码输入中,并在密码输入下方包含密码强度计视图。

<input type="password" name="password" id="password">
@include('password-strength::password-meter')

就这样。