php-standard-library/secure-random
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pragmarx/random | 0.82 | 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 | — | |
| valorin/random | 0.82 | 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 | |
| christhompsontldr/laravel-rng | 0.81 | Deterministic, stream-isolated RNG for Laravel built on PHP’s Random extension. Seed once to get reproducible sequences across named streams (e.g., seeding vs combat). Includes helpers for int ranges, chance, and pick, plus optional roll logging with audit command. | 0 | 0 | 0 | 104 | 0 | 14.5 | 31.6 | — | 3 months ago | |
| amzs/random-bundle | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 10.7 | — | MIT | 5 months ago | |
| ircmaxell/random-lib | 0.80 | — | 841 | 871 | 114 | 594K | 19 | 13.6 | 46.2 | MIT | — | |
| arokettu/random-polyfill | 0.80 | — | 9 | 9 | 0 | 35K | 0 | 23.1 | 56.5 | NOASSERTION | 1 month ago | |
| 20steps/bricks-scrypt-password-encoder-bundle | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| bordoni/phpass | 0.79 | Modernized, namespaced fork of Openwall Phpass (0.3) with Composer autoloading and unit tests. Provides PasswordHash for hashing and verifying passwords with minimal stylistic changes; public domain code, PHP 5 style. | 24 | 25 | 28 | 106K | 1 | 2.1 | 50.1 | — | 4 years ago | |
| paragonie/random_compat | 0.79 | 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. | 8,164 | 8,184 | 148 | 10M | 5 | 39.8 | 43.5 | MIT | 4 years ago | |
| spatie/laravel-random-command | 0.78 | Adds a playful php artisan random command that picks and runs a random Artisan command for you. Also auto-schedules itself to run at random times. Mostly for fun—probably not something you want in production (or anywhere). | 39 | 39 | 6 | 0 | 0 | 3.1 | — | MIT | 3 years ago | |
| symfony/polyfill-uuid | 0.78 | Provides polyfills for the uuid extension, adding uuid_* functions on PHP versions where the extension isn’t available. Part of Symfony’s Polyfill suite; lightweight drop-in to improve portability across environments. | 689 | 693 | 2 | 11M | 0 | 22.2 | 63.8 | MIT | 1 month ago | |
| wdalmut/rc4-support | 0.78 | Lightweight RC4 stream cipher implementation for PHP. Instantiate RC4 with a secret key, then encrypt/decrypt strings via __invoke() or rc4() method. Includes PHPUnit tests for verification. | 0 | 0 | 0 | 2 | 0 | 0.0 | 6.6 | MIT | — | |
| php-standard-library/foundation | 0.78 | A lightweight PHP foundation library offering common building blocks and utilities to bootstrap projects. Provides reusable helpers and core abstractions to reduce boilerplate and standardize patterns across apps and packages. | 1 | 1 | 0 | 33K | 0 | 21.2 | 64.8 | MIT | 2 weeks ago | |
| php-standard-library/hash | 0.78 | Hash utilities for PHP: cryptographic and non-cryptographic hashing via an Algorithm enum, HMAC helpers, and timing-safe string comparison. Lightweight package from PHP Standard Library for consistent, secure hashing across projects. | 0 | 0 | 0 | 4K | 0 | 21.2 | 58.8 | MIT | 2 weeks ago | |
| veeqtoh/secure-code | 0.77 | — | 16 | 16 | 1 | 0 | 0 | 0.7 | — | MIT | 2 years ago | |
| kornrunner/keccak | 0.77 | Pure PHP Keccak (SHA-3) implementation with easy static API. Compute Keccak hashes (224/256/384/512) and SHAKE outputs (XOF) without extensions. Includes test suite and coverage, suitable for Ethereum and other crypto use cases. | 125 | 131 | 47 | 81K | 0 | 3.6 | 38.7 | MIT | 5 years ago | |
| hautelook/phpass | 0.77 | Modernized, namespaced Composer-ready fork of Openwall Phpass (0.3) with minimal stylistic changes and unit tests. Provides PasswordHash to generate and verify password hashes for legacy systems; public domain source. | 24 | 26 | 28 | 6K | 1 | 2.1 | 31.0 | — | 4 years ago | |
| da-vinci-studio/uuid-generator | 0.77 | Laravel/PHP UUID generator package by Da Vinci Studio. Provides simple helpers to generate UUIDs for your application, useful for model identifiers, tokens, and unique references, with easy integration into existing projects. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 9 years ago | |
| draw/security | 0.76 | — | 0 | 0 | 0 | 2K | 0 | 0.0 | 44.9 | — | — | |
| mydaniel/laravel-temporary-tokens | 0.76 | — | 0 | 0 | — | 0 | — | 10.1 | — | — | — |
How can I help you explore Laravel packages today?