PHPackages                             phptcloud/password-entropy-bundle - 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. [Security](/categories/security)
4. /
5. phptcloud/password-entropy-bundle

ActiveSymfony-bundle[Security](/categories/security)

phptcloud/password-entropy-bundle
=================================

Symfony bundle for calculating password entropy

v1.0.0(2y ago)1332MITPHPPHP &gt;=7.4

Since Mar 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/PHPTCloud/password-entropy-validator)[ Packagist](https://packagist.org/packages/phptcloud/password-entropy-bundle)[ RSS](/packages/phptcloud-password-entropy-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Password entropy symfony bundle
===============================

[](#password-entropy-symfony-bundle)

[![docs](https://camo.githubusercontent.com/140f2006845d0ee445feb1f115fa64e3f58f0b05bf3ccf4c40549c5855eea0c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d7965732d626c7565)](https://camo.githubusercontent.com/140f2006845d0ee445feb1f115fa64e3f58f0b05bf3ccf4c40549c5855eea0c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d7965732d626c7565) [![license](https://camo.githubusercontent.com/88e1dabf4d223df0950e0985948e231325fefca9fa7fe9e446cf8b1c5e9d9e47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e)](https://camo.githubusercontent.com/88e1dabf4d223df0950e0985948e231325fefca9fa7fe9e446cf8b1c5e9d9e47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e) [![useful](https://camo.githubusercontent.com/6bbfdff1eae05beba0e1859c863356913babd487c54d8e9bbdec47b611db629b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61696e7461696e65642533462d7965732d627269676874677265656e)](https://camo.githubusercontent.com/6bbfdff1eae05beba0e1859c863356913babd487c54d8e9bbdec47b611db629b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61696e7461696e65642533462d7965732d627269676874677265656e)

Небольшой бандл для расчета энтропии пароля на основе двух методов:

- расчет битового порога сложности (NIST);
- расчет вхождений символов в пароле.

В целом этот бандл это просто реализация ограничения валидации, основанного на общих рекомендациях определения сложности пароля.

### Установка

[](#установка)

```
composer require phptcloud/password-entropy-bundle
```

### Примеры

[](#примеры)

[Пример использования](https://gitlab.com/tcloud.ax/password_entropy_bundle/-/blob/master/docs/usage.md)

### Уровни паролей

[](#уровни-паролей)

1 - очень слабый пароль 2 - слабый пароль 3 - средний пароль 4 - сильный пароль 5 - очень сильный пароль

### Уровень по NIST

[](#уровень-по-nist)

1 уровень - `bits` &lt; 16

2 уровень - `bits` &lt; 17-27

3 уровень - `bits` &lt; 28-44

4 уровень - `bits` &lt; 45-80

5 уровень - `bits` &gt; 80,

где `bits` - битовый порог сложности пароля.

### Уровень по вхождению символа

[](#уровень-по-вхождению-символа)

1 уровень - `occurrence` &gt; 80%

2 уровень - `occurrence` &gt; 50-79%

3 уровень - `occurrence` &gt; 35-49%

4 уровень - `occurrence` &gt; 10-34%

5 уровень - `occurrence` &lt; 9%,

где `occurrence` - процент количества вхождений символа в пароле от его длины.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

801d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f432a814172b4af1c32a39081d0ab518e7ac65cd3410270896c900affd7e3ed0?d=identicon)[TCLOUD](/maintainers/TCLOUD)

---

Top Contributors

[![PHPTCloud](https://avatars.githubusercontent.com/u/63997331?v=4)](https://github.com/PHPTCloud "PHPTCloud (14 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/phptcloud-password-entropy-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/phptcloud-password-entropy-bundle/health.svg)](https://phpackages.com/packages/phptcloud-password-entropy-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/storefront

Storefront for Shopware

684.2M148](/packages/shopware-storefront)

PHPackages © 2026

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