PHPackages                             defuse/php-passgen - 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. defuse/php-passgen

ActiveLibrary[Security](/categories/security)

defuse/php-passgen
==================

PHP Random Password Generator Library

v1.0.1(11y ago)4017.7k18[5 issues](https://github.com/defuse/php-passgen/issues)[1 PRs](https://github.com/defuse/php-passgen/pulls)MITPHPPHP &gt;=5.4.0

Since Mar 14Pushed 3y ago7 watchersCompare

[ Source](https://github.com/defuse/php-passgen)[ Packagist](https://packagist.org/packages/defuse/php-passgen)[ RSS](/packages/defuse-php-passgen/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

php-passgen
===========

[](#php-passgen)

[![Build Status](https://camo.githubusercontent.com/4299f0cf628814f893599a696840b0dcf9c696631dd3d62d4b4fa0e5dfe9383b/68747470733a2f2f7472617669732d63692e6f72672f6465667573652f7068702d7061737367656e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/defuse/php-passgen)

A MIT-licensed library for generating cryptographically secure passwords in PHP.

Audit Status
------------

[](#audit-status)

Although it has been developed with security as the top priority, and with secure coding practices in mind, this code has not received any professional review.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.4% 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

4128d ago

### Community

Maintainers

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

---

Top Contributors

[![defuse](https://avatars.githubusercontent.com/u/4211072?v=4)](https://github.com/defuse "defuse (19 commits)")[![glensc](https://avatars.githubusercontent.com/u/199095?v=4)](https://github.com/glensc "glensc (1 commits)")[![kakserpom](https://avatars.githubusercontent.com/u/175350?v=4)](https://github.com/kakserpom "kakserpom (1 commits)")[![sarciszewski](https://avatars.githubusercontent.com/u/3710836?v=4)](https://github.com/sarciszewski "sarciszewski (1 commits)")

---

Tags

randomsecuritygeneratepasswords

### Embed Badge

![Health badge](/badges/defuse-php-passgen/health.svg)

```
[![Health](https://phpackages.com/badges/defuse-php-passgen/health.svg)](https://phpackages.com/packages/defuse-php-passgen)
```

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k465.6M1.5k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k175.2M253](/packages/defuse-php-encryption)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M143](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41484.3M149](/packages/robrichards-xmlseclibs)[unicodeveloper/laravel-password

Protect your users from entering dumb and common passwords

4251.5M6](/packages/unicodeveloper-laravel-password)[spatie/laravel-csp

Add CSP headers to the responses of a Laravel app

86611.1M25](/packages/spatie-laravel-csp)

PHPackages © 2026

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