PHPackages                             ziming/laravel-zxcvbn - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. ziming/laravel-zxcvbn

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

ziming/laravel-zxcvbn
=====================

Zxcvbn Password validation rule for Laravel

2.4.6(2mo ago)3056.7k—4.3%3MITPHPPHP ^8.2||^8.3||^8.4CI passing

Since Jun 10Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/ziming/laravel-zxcvbn)[ Packagist](https://packagist.org/packages/ziming/laravel-zxcvbn)[ Docs](https://github.com/ziming/laravel-zxcvbn)[ GitHub Sponsors](https://github.com/ziming)[ RSS](/packages/ziming-laravel-zxcvbn/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (28)Versions (20)Used By (0)

Zxcvbn Password validation rule for Laravel
===========================================

[](#zxcvbn-password-validation-rule-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/27bc4c28bab5782f8069512880c60717f3848e915d301d63f9170719d10bd62b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a696d696e672f6c61726176656c2d7a786376626e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ziming/laravel-zxcvbn)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7d18a32fcb59a32c3f591c5010a6c527b97031c812ec5c7189fac5ac6bbf0452/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7a696d696e672f6c61726176656c2d7a786376626e2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/ziming/laravel-zxcvbn/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/3bfa5ed8d2b70644b98bc8a1c66f2e903a689e07a6ecd23e4a064cd3803869c6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7a696d696e672f6c61726176656c2d7a786376626e2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/ziming/laravel-zxcvbn/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/68fe4395cf07ab7c92f9e7f7e57833f7228fde45f753c7624d070eb9e6fc92fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a696d696e672f6c61726176656c2d7a786376626e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ziming/laravel-zxcvbn)

Laravel Zxcvbn Password Validation Rule. Nothing more, nothing less.

For an introduction to [Dropbox](https://www.dropbox.com/referrals/AADDLjGkSH_QFLodOUiOnU4tiqigvGZmLR0?src=global9) Zxcvbn, see the following link

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

[](#installation)

You can install the package via composer:

```
composer require ziming/laravel-zxcvbn
```

You can publish the config file with:

```
php artisan vendor:publish --tag="zxcvbn-config"
```

This is the contents of the published config file. The default min score is set to 3.

```
