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

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

badarnadeem/random-password
===========================

Generate random passwords of different types and lengths

v1.0.0(2y ago)08GPL-3.0-onlyPHPPHP &gt;=8.1.0

Since Nov 13Pushed 2y ago1 watchersCompare

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

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

Generate Random Passwords
=========================

[](#generate-random-passwords)

Generate random passwords of different types and lengths

Installation
------------

[](#installation)

Install the package using the following composer command

```
composer require badarnadeem/random-password

```

Usage
-----

[](#usage)

Using the Password class to generate random passwords

```

```

Set Password Length and Strength
--------------------------------

[](#set-password-length-and-strength)

Pass in custom length and strength for your passwords. The default password length is set to 8 and default strength is set to strong.

```

```

Password Strength Options
-------------------------

[](#password-strength-options)

The following 3 options are available for password strength

```

```

###  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

Unknown

Total

1

Last Release

916d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a2d41174aa241d67d07b1b9b9a1fcc39987f0d9090093916145f1b49105f5f7?d=identicon)[badarnadeem](/maintainers/badarnadeem)

---

Top Contributors

[![badarnadeem](https://avatars.githubusercontent.com/u/31987831?v=4)](https://github.com/badarnadeem "badarnadeem (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[alekseon/module-cleanrunningjobs

Mark running cronjobs as error if older than 3 days

2438.6k](/packages/alekseon-module-cleanrunningjobs)

PHPackages © 2026

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