axy/random

Generates pseudo-random

Maintainers

👁 axy

Package info

github.com/axypro/random

pkg:composer/axy/random

Statistics

Installs: 30 375

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

0.2.1 2023-03-16 14:51 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 9579c4dbc7ffd25ccc8f1aa12ef87991be87627a

  • Oleg Grigoriev <go.vasac.woop@gmail.com>

random

This package is auto-updated.

Last update: 2026-06-16 21:54:41 UTC


README

Random sequence generation in PHP. At the moment this package doesn't make much sense. Used by some other packages. In old PHP versions used different methods, now uses only random_bytes().

👁 Latest Stable Version
👁 Minimum PHP Version
👁 Tests
👁 Coverage Status
👁 License

Documentation

use axy\random\src\Random;

$string = Random::createString(10); // creates a random string of 10 chars
$bytes = Random::createBytes(100); // creates an array of 100 integers (0-255)