PHPackages                             sebastan12/random-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. sebastan12/random-password

ActiveLibrary

sebastan12/random-password
==========================

Easily Generate a random password

v1.2(4y ago)06MITPHP

Since Mar 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Sebastan12/random-password)[ Packagist](https://packagist.org/packages/sebastan12/random-password)[ RSS](/packages/sebastan12-random-password/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

random-password
===============

[](#random-password)

A random password generator

\#How to Install

you can easily install the package using composer

```
composer require sebastan12/random-password
```

\#Quickly generate your first password by default a password with length of 8 and it uses special characters - this can be configured

```
//Require Composer Autoload
require_once __DIR__."/vendor/autoload.php";
use RandomPassword\RandomPassword;

//How to generate a password
$generator = new RandomPassword();
echo $generator->getRandomPassword();
```

\#Configuration options random-password offers 2 configuration parameters you can pass

1. the password length (int min 1)
2. use special characters (bool)

```
//Using parameters to generate a 32 char logn password
//that does not use special chars
$generator = new RandomPassword(32, false);
echo $generator->getRandomPassword();
```

\#License This project uses the MIT Licence

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Every ~0 days

Total

3

Last Release

1511d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/747cc7e4b2fa7c84e021b08c41c355fc3e1163bfa316afac469717cb41368b44?d=identicon)[Sebastan12](/maintainers/Sebastan12)

---

Top Contributors

[![Sebastan12](https://avatars.githubusercontent.com/u/12416169?v=4)](https://github.com/Sebastan12 "Sebastan12 (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sebastan12-random-password/health.svg)

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

PHPackages © 2026

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