PHPackages                             andrey-yurchuk/password-generator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. andrey-yurchuk/password-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

andrey-yurchuk/password-generator
=================================

Random password generator library

1.0.1(1y ago)03PHPPHP &gt;=7.4

Since May 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Andrey-Yurchuk/password-generator)[ Packagist](https://packagist.org/packages/andrey-yurchuk/password-generator)[ RSS](/packages/andrey-yurchuk-password-generator/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Password Generator
------------------

[](#password-generator)

Библиотека для генерации случайных паролей.

### Описание

[](#описание)

`andrey-yurchuk/password-generator` — это библиотека для генерации криптографически стойких случайных паролей заданной длины и набора символов. Полезна для создания паролей, токенов, одноразовых ссылок и других секретных строк.

### Требования

[](#требования)

- PHP &gt;= 7.4
- Composer 2.0+

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

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

Пакет опубликован на [Packagist](https://packagist.org/packages/andrey-yurchuk/password-generator). Чтобы установить его в ваш проект, выполните:

```
composer require andrey-yurchuk/password-generator
```

### Использование

[](#использование)

```
// 1. Генерация пароля по умолчанию (16 символов)
$defaultGen = new PasswordGenerator();
echo "Default (16): " . $defaultGen->generate() . PHP_EOL;

// 2. Генерация числового пароля длиной 8 символов
$digitsGen = new PasswordGenerator(8, '0123456789');
echo "Digits (8): " . $digitsGen->generate() . PHP_EOL;

// 3. Генерация пароля из пользовательского набора символов
$customChars = 'ABCDEF!@#';
$customGen = new PasswordGenerator(12, $customChars);
echo "Custom (12+set): " . $customGen->generate() . PHP_EOL;
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance46

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

414d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/109209218?v=4)[Andrey\_Yurchuk](/maintainers/Andrey-Yurchuk)[@Andrey-Yurchuk](https://github.com/Andrey-Yurchuk)

---

Top Contributors

[![Andrey-Yurchuk](https://avatars.githubusercontent.com/u/109209218?v=4)](https://github.com/Andrey-Yurchuk "Andrey-Yurchuk (2 commits)")

---

Tags

composerphp-libraryphp8

### Embed Badge

![Health badge](/badges/andrey-yurchuk-password-generator/health.svg)

```
[![Health](https://phpackages.com/badges/andrey-yurchuk-password-generator/health.svg)](https://phpackages.com/packages/andrey-yurchuk-password-generator)
```

###  Alternatives

[mgtcommerce/module-mgtdevelopertoolbar

Mgt Developer Toolbar

305289.2k1](/packages/mgtcommerce-module-mgtdevelopertoolbar)

PHPackages © 2026

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