Developer tools
paragonie/random_compat
PHP 5.x support for random_bytes() and random_int()
csprngphpphp5polyfillrandomrandom-bytesrandom-generationrandom-intrandomizationrandomnesssecuresecure-by-default
PHP 5.x support for random_bytes() and random_int()
Repository details
- Primary language: PHP
- License identifier: MIT
- Stars at capture: 8,149
- Forks at capture: 152
- Metadata source: GitHub API, retrieved 20 November 2026
Getting started
Read the installation section and the examples for the release you intend to use. Check its PHP and extension requirements against your development environment.
Discussion
Sign in to participate.



