PHPackages                             wind/random-compat - 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. wind/random-compat

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

wind/random-compat
==================

A compatibility library for the proposed simplified random number generator

065PHP

Since Jun 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/wind930/random_compat)[ Packagist](https://packagist.org/packages/wind/random-compat)[ RSS](/packages/wind-random-compat/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Random Compat
=============

[](#random-compat)

What is this library?
---------------------

[](#what-is-this-library)

This is a proof-of-concept (and potentially a compatibility library) for a simplified random number generation API to be proposed for PHP core for 5.6.

This library can generate strong random numbers and cryptographically secure random numbers.

Usage
-----

[](#usage)

While the API is in flux, refer to `test.php` for example usage and the Random class itself under `lib`.

composer install
----------------

[](#composer-install)

```
"require": {
    "wind/random-compat" : "dev-master"
}
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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://www.gravatar.com/avatar/03dd68f87f79c7090536c7e64656421fa979cf655286cacbc157789c73703776?d=identicon)[wind930](/maintainers/wind930)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wind-random-compat/health.svg)

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

###  Alternatives

[teepluss/asset

Laravel 4 Assets Manage

212.9k](/packages/teepluss-asset)

PHPackages © 2026

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