PHPackages                             superdupercybertechno/randy - 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. superdupercybertechno/randy

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

superdupercybertechno/randy
===========================

The Mersenne Twister in PHP - A seedable pseudorandom number generator

1.0.0(6y ago)09.3k↑75.6%MITPHP

Since Nov 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/superDuperCyberTechno/randy)[ Packagist](https://packagist.org/packages/superdupercybertechno/randy)[ RSS](/packages/superdupercybertechno-randy/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

randy
=====

[](#randy)

#### The Mersenne Twister in PHP - A seedable pseudorandom number generator

[](#the-mersenne-twister-in-php---a-seedable-pseudorandom-number-generator)

Based on [this](https://www.dr-chuck.com/csev-blog/2015/09/a-mersenne_twister-implementation-in-php/).

Install it using composer:

```
composer install superdupercybertechno/randy

```

To use it, add the following to your file:

```
use superDuperCyberTechno\Randy\Randy;

```

When you need it, simply invoke it and request numbers.

```
$randy = new Randy($seed);
$number = $randy->num(0,100);

```

Where `$seed` is a string of your choosing. If you leave out `$seed`, Randy will seed itself with a random number. Each time you run the method `num` you will receive a new number within the limits passed (`0` and `100` in the above example). Using the same seed will produce a predictable batch of numbers.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

2425d ago

Major Versions

0.9.4 → 1.0.02019-11-14

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/superdupercybertechno-randy/health.svg)

```
[![Health](https://phpackages.com/badges/superdupercybertechno-randy/health.svg)](https://phpackages.com/packages/superdupercybertechno-randy)
```

###  Alternatives

[symfony/ai-platform

PHP library for interacting with AI platform provider.

521.4M291](/packages/symfony-ai-platform)

PHPackages © 2026

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