axy/random
Generates pseudo-random
Maintainers
0.2.1
2023-03-16 14:51 UTC
Requires
- php: >=8.1
- axy/binary: ~0.2.0
Requires (Dev)
- phpunit/phpunit: ~10.0.15
- squizlabs/php_codesniffer: =3.7.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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)
