Generates pseudo-random

0.2.1 2023-03-16 14:51 UTC

This package is auto-updated.

Last update: 2024-05-16 17:14:38 UTC


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


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)