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

ActiveLibrary[Security](/categories/security)

wepesi/password-generator
=========================

generate strong password, salt and hash

v0.1.1(3y ago)281Apache-2.0PHPPHP ^7.4||8.0

Since Mar 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bim-g/password-generator)[ Packagist](https://packagist.org/packages/wepesi/password-generator)[ Docs](https://github.com/bim-g/password-generator)[ RSS](/packages/wepesi-password-generator/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

PASSWORD\_GENERATOR
===================

[](#password_generator)

auto generate password, salt and hash.

Installation
============

[](#installation)

```
composer require password-generator
```

Integration
===========

[](#integration)

```
$simple_string = PasswordGenerator::randomString();
$strong_string = PasswordGenerator::randomString(10,true);

echo $simple_string . PHP_EOL;
echo $strong_string . PHP_EOL;
//eg: Lfw8oPDUhl
//eg: N[:Lspg+Lw

$salt = PasswordGenerator::salt();
echo $salt . PHP_EOL;
// eg: 505ff561ca2a0d846e5713b6b00f6b38

$simple_string_no_salt = PasswordGenerator::make($simple_string);
echo $simple_string_no_salt . PHP_EOL;
// eg: 1fbbd6ad4db19d296e6d9680f28829fbb23bb63b6447f8ace9596ce258a073ed

$simple_string_salt = PasswordGenerator::make($simple_string,$salt);
echo $simple_string_salt . PHP_EOL;
// eg: 8553b800cd2dcd2646c7535e8675c7892872edf508440e268c9017fd15dbc93a
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

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

1199d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b7536aed6138da14cfe4d2a295017fd44f2997ee86c689e8aa6276080164cfd?d=identicon)[ibmussa](/maintainers/ibmussa)

---

Top Contributors

[![bim-g](https://avatars.githubusercontent.com/u/16068170?v=4)](https://github.com/bim-g "bim-g (5 commits)")

---

Tags

passwordhashsaltrandom password

### Embed Badge

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

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

###  Alternatives

[ircmaxell/password-compat

A compatibility library for the proposed simplified password hashing algorithm: https://wiki.php.net/rfc/password\_hash

2.1k58.1M129](/packages/ircmaxell-password-compat)[symfony/password-hasher

Provides password hashing utilities

817151.0M172](/packages/symfony-password-hasher)[passwordlib/passwordlib

A Password Hashing Library

377223.2k7](/packages/passwordlib-passwordlib)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87219.2M85](/packages/bjeavons-zxcvbn-php)[lastguest/murmurhash

MurmurHash3 Hash

12911.6M60](/packages/lastguest-murmurhash)[paragonie/password_lock

Wraps Bcrypt-SHA2 in Authenticated Encryption

19351.8k1](/packages/paragonie-password-lock)

PHPackages © 2026

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