PHPackages                             axolotl-pm/xoroshiro128pp - 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. axolotl-pm/xoroshiro128pp

ActiveLibrary

axolotl-pm/xoroshiro128pp
=========================

Xoroshiro128++ random number generator for PocketMine-MP

0.1.0(yesterday)0161↑2862.7%[1 PRs](https://github.com/axolotl-pm/Xoroshiro128PP/pulls)LGPL-3.0PHPPHP ^8.1CI passing

Since Aug 24Pushed yesterdayCompare

[ Source](https://github.com/axolotl-pm/Xoroshiro128PP)[ Packagist](https://packagist.org/packages/axolotl-pm/xoroshiro128pp)[ RSS](/packages/axolotl-pm-xoroshiro128pp/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (2)Used By (0)

Xoroshiro128PP
==============

[](#xoroshiro128pp)

[![CI](https://github.com/axolotl-pm/Xoroshiro128PP/workflows/CI/badge.svg)](https://github.com/axolotl-pm/Xoroshiro128PP/workflows/CI/badge.svg)

Xoroshiro128++ random number generator, made for use in PocketMine-MP.

Usage
-----

[](#usage)

```
use pocketmine\xoroshiro\Xoroshiro128PP;

$random = Xoroshiro128PP::fromSeed($seed);
$random->nextLong();   // signed 64-bit
$random->nextFloat();  // [0, 1)
```

- `Xoroshiro128PP` - the generator. `fromSeed()` expands one 64-bit seed into the 128-bit state the way Minecraft does; the constructor takes the two halves of the state directly.
- `SplitMix64` - the finaliser (Stafford variant 13) that seeding is built on, exposed because position hashes often need it on its own.

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

[](#requirements)

- PHP 8.1 or newer, 64-bit
- `ext-gmp`

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance100

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/57236932?v=4)[IvanCraft623](/maintainers/IvanCraft623)[@IvanCraft623](https://github.com/IvanCraft623)

---

Top Contributors

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

---

Tags

on-packagistphpphpstan-l9phpstan-strictxoroshiro128

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/axolotl-pm-xoroshiro128pp/health.svg)

```
[![Health](https://phpackages.com/badges/axolotl-pm-xoroshiro128pp/health.svg)](https://phpackages.com/packages/axolotl-pm-xoroshiro128pp)
```

###  Alternatives

[robmorgan/phinx

Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

4.5k49.7M495](/packages/robmorgan-phinx)[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.6k79.3k91](/packages/pocketmine-pocketmine-mp)[maennchen/zipstream-php

ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.

1.9k322.8M230](/packages/maennchen-zipstream-php)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.5k920.5k24](/packages/danog-madelineproto)[paragonie/sodium_compat

Pure PHP implementation of libsodium; uses the PHP extension if it exists

931149.1M198](/packages/paragonie-sodium-compat)[godruoyi/php-snowflake

An ID Generator for PHP based on Snowflake Algorithm (Twitter announced).

8662.7M75](/packages/godruoyi-php-snowflake)

PHPackages © 2026

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