paragonie/random_compat
PHP 5 polyfill for random_bytes() and random_int(), providing secure, cryptographically strong randomness on older PHP versions. Uses the best available system sources and falls back safely, helping apps generate tokens, keys, IDs, and nonces consistently across environments.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/polyfill-php56 | 0.81 | Symfony polyfill providing PHP 5.6 features for older runtimes. Adds missing functions and constants so modern libraries can run on legacy PHP versions, smoothing compatibility across environments and easing upgrades without changing application code. | 1,560 | 1,561 | 2 | 1M | 0 | 7.9 | 40.9 | MIT | — | |
| valorin/random | 0.80 | Laravel helper for generating random strings, numbers, and values with a clean API. Create secure tokens, readable IDs, and randomized data for testing or seeding, with configurable length, character sets, and formats. | 228 | 228 | 12 | 20K | 0 | 3.9 | 27.0 | MIT | 1 year ago | |
| php-standard-library/secure-random | 0.80 | Generate cryptographically secure random tokens, passwords, nonces, and bytes in PHP. SecureRandom provides simple, reliable APIs built on native CSPRNG sources, suitable for authentication, CSRF protection, and other security-sensitive identifiers. | 0 | 0 | 0 | 2K | 0 | 21.2 | 52.5 | MIT | 1 week ago | |
| arokettu/random-polyfill | 0.80 | — | 9 | 9 | 0 | 35K | 0 | 23.1 | 56.5 | NOASSERTION | 1 month ago | |
| pragmarx/random | 0.79 | Cryptographically secure random generator for PHP: create random strings, integers, bytes, hex, and regex-based patterns with options for size, case, prefixes/suffixes, and raw output. Falls back to Faker (if installed) for rich random data like names and dates. | 71 | 74 | 3 | 142K | 1 | 0.5 | 45.5 | MIT | — | |
| phpcompatibility/phpcompatibility-paragonie | 0.79 | PHP_CodeSniffer rulesets that extend PHPCompatibility to account for Paragonie polyfills (random_compat and sodium_compat), reducing false positives when checking PHP cross-version compatibility. Includes separate RandomCompat and SodiumCompat standards. | 10 | 12 | 2 | 1M | 0 | 13.3 | 60.0 | LGPL-3.0 | 6 months ago | |
| ircmaxell/random-lib | 0.78 | — | 841 | 871 | 114 | 594K | 19 | 13.6 | 46.2 | MIT | — | |
| symfony/polyfill-php70 | 0.78 | Symfony Polyfill PHP 7.0 provides compatibility shims for older PHP versions, letting modern PHP 7+ functions and features run on legacy environments. Used by Symfony components and many libraries to ensure consistent behavior across PHP versions. | 3,195 | 3,195 | 7 | 781K | 0 | 16.2 | 33.0 | MIT | — | |
| amzs/random-bundle | 0.77 | — | 0 | 0 | 0 | 0 | 0 | 10.8 | — | MIT | 5 months ago | |
| phpseclib/phpseclib | 0.76 | Pure-PHP secure communications library: SSH-2 and SFTP plus crypto primitives and PKI tools (X.509, RSA, ECDSA/ECDH, Ed25519, DH/DSA) and ciphers like AES/ChaCha20 with GCM/Poly1305. MIT licensed and Composer-ready. | 5,573 | 5,687 | 908 | 9M | 197 | 89.9 | 77.6 | MIT | 1 month ago | |
| paragonie/sodium_compat | 0.75 | Pure-PHP polyfill for PHP’s Sodium (libsodium) cryptography API. Transparently uses the native sodium extension when available; otherwise falls back to a compatible implementation. v1 supports PHP 5.2+ incl. 32-bit; v2 targets PHP 8.1+ only. | 931 | 937 | 67 | 4M | 0 | 27.1 | 55.9 | ISC | 5 months ago |
How can I help you explore Laravel packages today?