PHPackages                             marcuspi/random-factor - 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. marcuspi/random-factor

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

marcuspi/random-factor
======================

Makes strings of random words (if you need a semi-safe random word combination)

v2.0(8y ago)28.5k↓41.7%WTFPLPHP

Since Apr 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/marcusirgens/RandomFactor)[ Packagist](https://packagist.org/packages/marcuspi/random-factor)[ Docs](https://github.com/marcusirgens/RandomFactor)[ RSS](/packages/marcuspi-random-factor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

RandomFactor
============

[](#randomfactor)

Creates strings with an adjective and a noun. Used for semi-safe stuff like simple two factor authentication.

Usage
-----

[](#usage)

`random_factor($lang = 'en', $spacing = ' ')`

Supports English (en) and Norwegian (no).

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

[](#installation)

Composer, get it as `"marcuspi/random-factor": "dev-master"`

### Is this safe to use?

[](#is-this-safe-to-use)

Probably not.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

3

Last Release

3007d ago

Major Versions

v1.0 → v2.02018-02-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8811904?v=4)[Marcus Pettersen Irgens](/maintainers/marcusirgens)[@marcusirgens](https://github.com/marcusirgens)

---

Top Contributors

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

---

Tags

randomnounsadjectives

### Embed Badge

![Health badge](/badges/marcuspi-random-factor/health.svg)

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

###  Alternatives

[paragonie/random_compat

PHP 5.x polyfill for random\_bytes() and random\_int() from PHP 7

8.2k655.0M405](/packages/paragonie-random-compat)[wapmorgan/morphos

A morphological solution for Russian and English language written completely in PHP. Provides classes to inflect personal names, geographical names, decline and pluralize nouns, generate cardinal and ordinal numerals, spell out money amounts and time.

8351.3M7](/packages/wapmorgan-morphos)[ircmaxell/random-lib

A Library For Generating Secure Random Numbers

84130.2M119](/packages/ircmaxell-random-lib)[mistic100/randomcolor

Generate attractive random colors

2431.4M6](/packages/mistic100-randomcolor)[pragmarx/random

Create random chars, numbers, strings

714.2M5](/packages/pragmarx-random)[paragonie/random-lib

A Library For Generating Secure Random Numbers

703.3M26](/packages/paragonie-random-lib)

PHPackages © 2026

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