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-php81 | 0.85 | Symfony polyfill providing PHP 8.1 features on older PHP versions: array_is_list, enum_exists, ReturnTypeWillChange, MYSQLI_REFRESH_REPLICA, and CURLStringFile. | 877 | 880 | 8 | 13M | 0 | 17.4 | 60.7 | MIT | 5 months ago | |
| paragonie/sodium_compat | 0.85 | Pure PHP polyfill for libsodium (Sodium crypto), transparently using the PHP extension when installed. Supports PHP 5.2.4+ and 32-bit integers in v1.x, with v2.x targeting PHP 8.1+. | 932 | 939 | 67 | 5M | 0 | 32.9 | 59.1 | ISC | 2 months ago | |
| phpcompatibility/phpcompatibility-paragonie | 0.85 | 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 | 2M | 0 | 5.0 | 56.0 | LGPL-3.0 | 11 months ago | |
| true/punycode | 0.84 | Pure PHP Punycode encoder/decoder for Internationalized Domain Names (IDNA). Convert Unicode domains to ASCII xn-- form and back (e.g., renangonçalves.com ↔ xn--renangonalves-pgb.com) without requiring the intl/libidn extensions. | 260 | 264 | 46 | 295K | 7 | 3.9 | 31.8 | MIT | 9 years ago | |
| ircmaxell/random-lib | 0.84 | — | 839 | 870 | 113 | 555K | 19 | 13.6 | 45.9 | MIT | — | |
| symfony/polyfill-php73 | 0.84 | Symfony polyfill providing PHP 7.3 functions on older PHP versions: array_key_first, array_key_last, hrtime, is_countable, and JsonException. Drop-in compatibility, MIT licensed. | 2,369 | 2,372 | 6 | 9M | 0 | 22.5 | 53.6 | MIT | 6 months ago | |
| marvin255/random-string-generator | 0.84 | A lightweight PHP package for generating random strings with configurable length and character sets. Ideal for access tokens, passwords, and unique identifiers, with optional Laravel integration and a simple, framework-agnostic API. | 1 | 1 | 1 | 503 | 0 | 8.5 | 35.7 | MIT | 7 months ago | |
| paragonie/constant_time_encoding | 0.84 | Fast, secure constant-time encoding/decoding utilities for PHP. Provides Base32, Base64 (incl. URL-safe), and Hex implementations designed to reduce timing side-channel leaks. Ideal for cryptography, tokens, and security-sensitive data handling. | 902 | 908 | 37 | 11M | 0 | 14.8 | 55.3 | NOASSERTION | 1 year ago | |
| paragonie/certainty | 0.84 | Automate and manage cacert.pem for PHP projects to ensure reliable TLS certificate validation across diverse environments. Avoid disabling verification, reduce support burden, and keep HTTP clients secure. Requires PHP 8.3+. | 263 | 265 | 18 | 68K | 4 | 30.4 | 39.7 | NOASSERTION | 2 weeks ago | |
| pragmarx/random | 0.84 | 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. | 70 | 74 | 3 | 146K | 1 | 0.5 | 45.6 | MIT | — | |
| symfony/polyfill | 0.84 | Symfony Polyfill backports newer PHP features and provides compatibility layers for missing extensions and functions, helping apps run across different PHP versions and configurations. It covers utilities like str_contains, array_key_first, mbstring/iconv, intl classes, UUID, and many PHP 7.2–8.x co... | 2,811 | 2,812 | 159 | 41K | 1 | 42.9 | 20.2 | MIT | 1 week ago | |
| symfony/polyfill-php71 | 0.84 | Symfony polyfill backporting PHP 7.1 features—like the iterable pseudo-type—to older runtimes (PHP 5.3+). It lets libraries and frameworks use newer syntax while remaining compatible with legacy PHP installations. | 25 | 25 | 1 | 5K | 0 | 0.2 | 32.1 | MIT | — | |
| valorin/random | 0.84 | 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. | 234 | 231 | 12 | 31K | 0 | 4.0 | 29.4 | MIT | 1 year ago | |
| picodexter/parameter-encryption-bundle | 0.83 | Encrypts request and URL parameters so sensitive values never travel in plain text. A simple bundle for PHP applications that helps protect IDs, tokens, and other data exposed in links, forms, or query strings. | 1 | 1 | 0 | 2 | 0 | 0.2 | 2.9 | MIT | 7 years ago | |
| paragonie/paseto | 0.83 | Reference PHP implementation of PASETO security tokens (v3/v4): safer alternative to JWT/JWE/JWS with modern crypto. Supports local and public tokens, includes PASERK integration for key serialization/wrapping, and works with Sodium (or sodium_compat). | 3,398 | 3,399 | 109 | 46K | 3 | 30.1 | 16.8 | NOASSERTION | 1 year ago | |
| symfony/polyfill-php56 | 0.83 | 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,551 | 1,553 | 2 | 2M | 0 | 7.8 | 43.1 | MIT | — | |
| amzs/random-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 6.5 | — | MIT | 10 months ago | |
| symfony/polyfill-php83 | 0.83 | Symfony polyfill for PHP 8.3 backports PHP 8.3 features to older PHP versions, including json_validate, the Override attribute, mb_str_pad, str_increment/str_decrement, Date* exceptions, LDAP helpers, and stream_context_set_options. | 430 | 433 | 6 | 13M | 0 | 23.7 | 64.4 | MIT | 1 month ago | |
| paragonie/halite | 0.83 | Halite is a high-level PHP cryptography library from Paragon Initiative Enterprises, built on libsodium. It provides safer, opinionated APIs for encryption, authentication, key management, and password hashing, helping you use modern crypto correctly with minimal foot-guns. | 1,153 | 1,165 | 91 | 443K | 21 | 23.7 | 41.9 | MPL-2.0 | 1 year ago | |
| spomky-labs/defuse-generator | 0.83 | A small PHP utility from Spomky-Labs for generating secure cryptographic keys compatible with defuse/php-encryption. It offers a simple API for creating encryption keys to protect application data in Laravel and other PHP projects. | 0 | 1 | — | 0 | — | 0.0 | — | — | — |
How can I help you explore Laravel packages today?