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

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

industryweb/password-random
===========================

Generates a random password using lowercase, uppercase, numbers, and symbols.

011PHP

Since Nov 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/industryweb/password-random)[ Packagist](https://packagist.org/packages/industryweb/password-random)[ RSS](/packages/industryweb-password-random/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Password Random
===============

[](#password-random)

![PHP from Packagist](https://camo.githubusercontent.com/901e9b93ce29ab949d4283caa8b4a7fc3b7c8d3134c1639f72023d65cc447880/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f696e6475737472797765622f70617373776f72642d72616e646f6d2e737667)[![Total Downloads](https://camo.githubusercontent.com/800c9ce35a8bd0f336c54f37fb69f43a3a2005cebdf810b98cdb134907be5c16/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e6475737472797765622f70617373776f72642d72616e646f6d2e737667)](https://packagist.org/packages/industryweb/password-random)[![License](https://camo.githubusercontent.com/2ae1fb163d4a975ed9798fe0f340028517fc7e7e8aebdf797f701d64026ff901/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f696e6475737472797765622f70617373776f72642d72616e646f6d2e737667)](https://packagist.org/packages/industryweb/password-random)

Generates a random password using lowercase, uppercase, numbers, and symbols.

Requirements:
-------------

[](#requirements)

php 5.4+

Installation:
-------------

[](#installation)

You can install the package via composer:

```
composer require industryweb/password-generate
```

Usage:
------

[](#usage)

Use the setters.

```
use IndustryWeb\PasswordRandom;

$random = new PasswordRandom();

// Set our min and max then generate.
$password = $random->length(16, 18)
    ->lower(2)
    ->upper(2)
    ->number(2)
    ->symbol(2)
    ->generate();

//  Display password.
echo $password . '';

// Display character count.
echo 'Total Characters: '.strlen($password);
```

License:
--------

[](#license)

(MIT) License.

Please see [License File](LICENSE.md) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33068505?v=4)[IndustryWeb®](/maintainers/industryweb)[@industryweb](https://github.com/industryweb)

---

Top Contributors

[![toddbarnett](https://avatars.githubusercontent.com/u/6508568?v=4)](https://github.com/toddbarnett "toddbarnett (10 commits)")

### Embed Badge

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

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

###  Alternatives

[gomachan46/state-machine

simple state machine with annotations for PHP, inspired by AASM known as a Ruby state machine.

1897.8k](/packages/gomachan46-state-machine)[suarez/laravel-utm-parameter

A little helper to store and handle utm-parameter

1516.9k](/packages/suarez-laravel-utm-parameter)

PHPackages © 2026

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