Registry / crypto / laminas-laminas-math

laminas-laminas-math

JSON →
library3.8.1phppackagistunverified

Create cryptographically secure pseudo-random numbers, and manage big integers.

composer require laminas/laminas-math
INSTALL
IMPORT
SIG · LAMINAS-LAMINAS-MA
L
laminas-laminas-math
cryptophpv3.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rand
use Laminas\Math\Rand;

Generate a cryptographically secure random integer.

use Laminas\Math\Rand; $randomInt = Rand::getInt(1, 100); echo $randomInt;
Debug
Known issues
breakingRequires PHP 7.3 or higher.
fix
Upgrade PHP to version 7.3+.
affects: <3.0.0
Upgrade
Version history
3.8.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Amazon
1
Resources
laminas-laminas-math — pip install laminas-laminas-math · libregistry