pragmarx/random
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pragmarx/recovery | 0.86 | Generate customizable recovery/backup codes for 2FA account recovery. Create arrays, JSON, or (Laravel) Collections, and tune how many codes to make plus blocks and characters per block for your preferred format and length. | 89 | 90 | 13 | 176K | 2 | 1.6 | 45.7 | MIT | 5 years ago | |
| php-standard-library/secure-random | 0.83 | 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. | 0 | 0 | 0 | 4K | 0 | 21.4 | 58.6 | MIT | 1 week ago | |
| amzs/random-bundle | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 6.5 | — | MIT | 10 months ago | |
| pragmarx/ia-str | 0.82 | Framework-agnostic extraction of Laravel’s Illuminate\Support\Str and string helper functions, repackaged under IlluminateAgnostic\Str to avoid namespace conflicts. Use Str:: methods or global str_* helpers in any PHP project, including Laravel apps. | 52 | 52 | 11 | 32K | 3 | 1.3 | 38.7 | MIT | — | |
| php-standard-library/foundation | 0.81 | Foundation provides the core building blocks for PHP Standard Library packages: a consistent exception hierarchy, the Ref reference wrapper for safe value passing, and invariant functions for validating preconditions and enforcing assumptions. Lightweight, dependency-free, and designed for reuse acr... | 1 | 1 | 0 | 105K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| valorin/random | 0.81 | 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 | |
| ircmaxell/random-lib | 0.81 | — | 839 | 870 | 113 | 555K | 19 | 13.6 | 45.9 | MIT | — | |
| paragonie/random_compat | 0.80 | 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 | |
| christhompsontldr/laravel-rng | 0.80 | 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 | |
| nawasara/auth-primitives | 0.80 | Lightweight Laravel/PHP auth primitives package providing foundational building blocks for authentication and authorization. Use it to compose your own login flows, guards, and access rules with minimal opinionated structure. | 0 | 0 | 0 | 43 | 0 | 0.0 | 22.7 | — | — | |
| codemitte/common | 0.80 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| spatie/laravel-random-command | 0.79 | 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 | |
| pragmarx/ia-arr | 0.79 | Illuminate\Support\Arr extracted from Laravel, repackaged as a framework-agnostic PHP library. Provides the full set of Arr helpers under the IlluminateAgnostic\Arr namespace to avoid conflicts, usable in any project (including Laravel). | 55 | 55 | 21 | 34K | 0 | 1.3 | 38.5 | MIT | 2 years ago | |
| denisok94/helper | 0.79 | A small Laravel/PHP helper package providing convenience functions to speed up everyday development tasks. Useful for common utilities and shortcuts so you can reduce boilerplate across projects. | 1 | 1 | 0 | 0 | 0 | 22.4 | — | BSD-3-Clause | 3 months ago | |
| arokettu/random-polyfill | 0.79 | — | 8 | 8 | 0 | 59K | 0 | 14.5 | 56.9 | NOASSERTION | 6 months ago | |
| braunstetter/helper | 0.79 | braunstetter/helper is a small PHP/Laravel helper package that groups handy utility functions for everyday development—common string, array, and miscellaneous helpers you can reuse across projects to reduce boilerplate and speed up coding. | 0 | 0 | 0 | 82 | 0 | 1.2 | 26.5 | — | 4 years ago | |
| php-standard-library/hash | 0.79 | 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 | |
| pragmarx/trivia | 0.79 | PragmaRX Trivia is a PHP package that ships a large collection of trivia questions/facts you can load and use in your app. Instantiate the Trivia class and fetch all entries to build games, quizzes, bots, or random “did you know?” prompts. | 4 | 4 | 0 | 7 | 0 | 0.3 | 5.3 | MIT | 8 years ago | |
| symfony/polyfill-uuid | 0.78 | Symfony polyfill for the PHP uuid extension. It provides the uuid_* functions on PHP installations without ext-uuid, so applications and libraries can use UUID helpers without requiring the extension. Lightweight, MIT-licensed, and maintained by Symfony. | 686 | 689 | 2 | 24M | 0 | 23.1 | 64.1 | MIT | 1 month ago | |
| aldaflux/pgsql-doctrine-random-function | 0.78 | — | 0 | 0 | 0 | 293 | 0 | 0.0 | 34.1 | MIT | — |
How can I help you explore Laravel packages today?