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

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

jerezjustin/random-password-generator
=====================================

Basic and easy-to-use random password generator

v1.0.1(2y ago)05MITPHPPHP ^8.0

Since Nov 21Pushed 2y ago1 watchersCompare

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

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

Password Generator
==================

[](#password-generator)

This is a basic password generator created with the finality of learning the process of creating packages using PHP.

How to use
----------

[](#how-to-use)

To install the package just run the following command in the terminal:

```
composer require jerezjustin/random-password-generator

```

The password generator is easy to use it consists of only one class to generate password. Here is an example of how can you use it.

```
$passwordGenerator = new JerezJustin\PasswordGenerator();

$password = $passwordGenerator->generate();
```

By default, the password generator will include lowercase, uppercase and numeric characters, and it will have a default length of 8 characters. This can be changed by providing a value for the different arguments to the constructor of the class.

```
$passwordGenerator = new JerezJustin\PasswordGenerator(
    length: 8,
    lowercase: true,
    uppercase: true,
    numbers: true,
    specialCharacters: false
);

$password = $passwordGenerator->generate();
```

Additionally, you can call methods to configure the password generator as in the following example:

```
$passwordGenerator = new JerezJustin\PasswordGenerator();

$password = $passwordGenerator
                ->length(8)
                ->includeLowercase(true)
                ->includeUppercase(true)
                ->includeNumbers(true)
                ->includeSpecialCharacters(false)
                ->generate();
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

2

Last Release

902d ago

### Community

Maintainers

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

---

Top Contributors

[![jerezjustin](https://avatars.githubusercontent.com/u/132396080?v=4)](https://github.com/jerezjustin "jerezjustin (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[hillholliday/craft-user-manual

Craft User Manual allows developers (or even content editors) to provide CMS documentation using Craft's built-in sections (singles, channels, or structures) to create a `User Manual` or `Help` section directly in the control panel.

8472.1k1](/packages/hillholliday-craft-user-manual)[laravolt/semantic-form

Semantic UI form helpers

5213.0k2](/packages/laravolt-semantic-form)

PHPackages © 2026

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