php-standard-library/secure-random
SecureRandom provides cryptographically secure random bytes and strings in PHP for tokens, passwords, nonces, and IDs. Simple API built on secure system sources, suitable for authentication, session, and security-sensitive workflows.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| valorin/random | 0.87 | 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 | |
| defuse/php-encryption | 0.86 | Secure, hard-to-misuse PHP encryption library for encrypting data with keys or passwords. Requires PHP 5.6+ and OpenSSL 1.0.1+. Simple API inspired by libsodium, built to avoid common crypto mistakes. | 3,874 | 3,913 | 314 | 8M | 10 | 34.7 | 48.9 | MIT | 3 years ago | |
| ircmaxell/random-lib | 0.86 | — | 839 | 870 | 113 | 555K | 19 | 13.6 | 45.9 | MIT | — | |
| paragonie/ciphersweet | 0.86 | CipherSweet is a PHP library for fast, secure field-level encryption with searchable encrypted indexes. Designed for applications that need to protect sensitive data at rest while still supporting equality and range queries, with strong cryptography and clean integrations. | 469 | 471 | 40 | 122K | 8 | 21.7 | 38.6 | NOASSERTION | 8 months ago | |
| christhompsontldr/laravel-rng | 0.85 | 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 | 5 | 0 | 5.6 | 11.3 | — | 8 months ago | |
| pragmarx/random | 0.85 | 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 | — | |
| veeqtoh/secure-code | 0.85 | — | 16 | 16 | 1 | 0 | 0 | 0.7 | — | MIT | 2 years ago | |
| spomky-labs/oauth2-server-defuse-generator-bundle | 0.84 | A Symfony bundle that integrates Defuse encryption primitives with the OAuth2 Server, providing key generation and cryptographic support for securing OAuth2 tokens and credentials. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| authentin/eusig | 0.84 | — | 1 | 1 | 0 | 3 | 0 | 0.0 | 5.5 | — | — | |
| php-standard-library/default | 0.84 | DefaultInterface for PHP classes to provide standardized default instances. Part of the PHP Standard Library, it gives a consistent contract for exposing a default object instance without custom static factory methods or ad hoc conventions. | 1 | 1 | 0 | 119K | 0 | 21.7 | 65.0 | MIT | 1 week ago | |
| paragonie/random_compat | 0.84 | 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,147 | 8,165 | 152 | 18M | 5 | 39.9 | 46.9 | MIT | 4 years ago | |
| bentools/shh | 0.84 | Shh! is a lightweight PHP library for handling secrets: generate RSA key pairs, change private key passphrases, encrypt/decrypt payloads, and store encrypted secrets safely so only holders of the private key can decrypt. | 4 | 4 | 0 | 78 | 0 | 0.9 | 16.9 | — | 5 years ago | |
| php-standard-library/hash | 0.84 | Cryptographic and non-cryptographic hashing for PHP with an Algorithm enum, timing-safe comparison, and HMAC support. | 0 | 0 | 0 | 10K | 0 | 21.7 | 64.9 | MIT | 1 week ago | |
| hackzilla/password-generator | 0.84 | Hackzilla Password Generator is a PHP library for creating secure random passwords. Configure length and character sets, or generate memorable word-based passwords. Framework-agnostic, with an optional Laravel integration. | 306 | — | 36 | — | 5 | 3.9 | 1.1 | MIT | — |
|
| amzs/random-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 6.5 | — | MIT | 10 months ago | |
| php-standard-library/fun | 0.84 | Functional programming utilities for PHP: compose and decorate functions, control execution, and build pipelines with small, reusable higher-order helpers. | 1 | 1 | 0 | 28K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| arokettu/random-polyfill | 0.84 | — | 8 | 8 | 0 | 59K | 0 | 14.5 | 56.9 | NOASSERTION | 6 months ago | |
| php-standard-library/php-standard-library | 0.84 | A standard library for PHP 8.4+ inspired by hhvm/hsl, offering consistent, well-typed APIs for async, collections, networking, I/O, cryptography, and terminal UI, replacing PHP primitives with safer, async-ready alternatives that error predictably. | 1,569 | 1,562 | 94 | 305K | 22 | 47.5 | 46.5 | MIT | 1 week ago | |
| martbock/laravel-diceware | 0.84 | Generate secure, memorable diceware passphrases in Laravel. This package offers a simple API for creating word-based passwords from diceware wordlists, with configurable word counts, separators, and multiple languages. Ideal for user-friendly, high-entropy credentials. | 32 | — | 3 | — | 1 | 0.9 | 0.4 | MIT | 3 years 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 |
How can I help you explore Laravel packages today?