PHPackages                             codename-cz/passy - 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. codename-cz/passy

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

codename-cz/passy
=================

Password checker, really simple one.

040PHP

Since Dec 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/codename-cz/passy)[ Packagist](https://packagist.org/packages/codename-cz/passy)[ RSS](/packages/codename-cz-passy/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Passy
=====

[](#passy)

Library for scoring password complexity. We have created it to be simpler than `zxcvbn` (that currently throws warnings in php 8.1).

We do not provide any warranties, use at your own responsibility.

### Limitations

[](#limitations)

- Tested only in PHP 8.1
- No dictionary, or leaked passwords checks

Usage
-----

[](#usage)

```
$p = new Passy();
$score = $p->score($password);
if ($score
