PHPackages                             lmihaylov/pass-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. lmihaylov/pass-generator

ActiveLibrary

lmihaylov/pass-generator
========================

A simple and elegant PHP password generator for either browser and console environments.

v1.1.5(9y ago)419MITPHPPHP &gt;=7.0.0

Since Nov 25Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lmihaylov2512/pass-generator)[ Packagist](https://packagist.org/packages/lmihaylov/pass-generator)[ RSS](/packages/lmihaylov-pass-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

Simple and elegant PHP password generator
=========================================

[](#simple-and-elegant-php-password-generator)

[![Build Status](https://camo.githubusercontent.com/dcc4947f24691b3d79302c63ad4b68f27eb43953f85f3ddd84c4a7ac999b8c2c/68747470733a2f2f7472617669732d63692e6f72672f6c6d696861796c6f76323531322f706173732d67656e657261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lmihaylov2512/pass-generator) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/960cf45b53baf7b37090ed6e06eacaff43e70516c58ff473c29c98900110b04c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6d696861796c6f76323531322f706173732d67656e657261746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lmihaylov2512/pass-generator/?branch=master)

Useful tool for generating password which can be running in either browser and console environments. It can be customize in each aspects: symbols types, length, allowed minimum and maximum sizes and patterns for characters group.

---

Requirements
------------

[](#requirements)

- installed PHP version &gt;= 7.0
- Composer dependency tool
- Node.js plus NPM package manager
- Bower CLI
- Grunt CLI

---

Demo
----

[](#demo)

All demos (for console and browsers) are located in "demo" directory. The examples for each of them are following:

- [Web browser demo](http://pass-generator.lmihaylov.com "Browser demo for password generator")
- [Console demo](demo/console/demo_cli.php)

---

Documentation
-------------

[](#documentation)

The package's consumers can modify all kind of configuration options. They may customize password length plus minimum and maximum sizes. The available configuration options are:

- upperCase: use alphabet upper letters \[A-Z\]
- lowerCase: use alphabet lower letters \[a-z\]
- digits: all numbers \[0-9\]
- special: special symbols ~, !, @, #, ...
- brackets: all kind of brackets (, ), {, }, \[, \]
- minus: minus sign -
- underline: underline sign \_
- space: space character ' '
- length: define password string size (symbols count)

It is allowed to change the characters pattern for specific group type (upperCase, lowerCase, etc) via "Storage" static class.

---

Author
------

[](#author)

Lachezar Mihaylov Contact:

---

License
-------

[](#license)

[The MIT License (MIT)](LICENSE.md)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community1

Small or concentrated contributor base

Maturity62

Established project with proven stability

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 ~1 days

Total

6

Last Release

3448d ago

Major Versions

v0.1 → v1.02016-11-28

### Community

### Embed Badge

![Health badge](/badges/lmihaylov-pass-generator/health.svg)

```
[![Health](https://phpackages.com/badges/lmihaylov-pass-generator/health.svg)](https://phpackages.com/packages/lmihaylov-pass-generator)
```

PHPackages © 2026

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