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

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

sunnanbei/worst-password
========================

弱口令校验

00PHP

Since Dec 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/TheSunNanbei/worst-password)[ Packagist](https://packagist.org/packages/sunnanbei/worst-password)[ RSS](/packages/sunnanbei-worst-password/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

worst-password
==============

[](#worst-password)

```
use Sunnanbei\WorstPassword\Worst;
```

```
$worst = new Worst();
$response = $worst->check('123456');
var_dump($response);    //false
$response = $worst->check('a!1234340@');
var_dump($response);    //a!1234340@
```

```
$paths = [
    '/www/worst_passwords.php'
];
$worst = new Worst($paths);
$response = $worst->check('123456');
var_dump($response);    //false
$response = $worst->check('a!1234340@');
var_dump($response);    //a!1234340@
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c50e53bb75e9ff0528e7b15dafd6130461bde3dc166dee7e7471c1382239b78?d=identicon)[TheSunNanbei](/maintainers/TheSunNanbei)

---

Top Contributors

[![TheSunNanbei](https://avatars.githubusercontent.com/u/59078114?v=4)](https://github.com/TheSunNanbei "TheSunNanbei (7 commits)")

### Embed Badge

![Health badge](/badges/sunnanbei-worst-password/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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