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 | 123K | 2 | 1.6 | 43.6 | MIT | 4 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 | 3K | 0 | 19.0 | 54.4 | MIT | 2 months ago | |
| amzs/random-bundle | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 9.0 | — | MIT | 7 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 | 29K | 3 | 1.3 | 38.2 | MIT | — | |
| php-standard-library/foundation | 0.81 | 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 | 36K | 0 | 19.8 | 64.2 | MIT | 2 months 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. | 230 | 231 | 12 | 32K | 0 | 4.0 | 29.6 | MIT | 1 year ago | |
| ircmaxell/random-lib | 0.81 | — | 840 | 870 | 113 | 538K | 19 | 13.6 | 45.7 | 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,156 | 8,185 | 152 | 11M | 5 | 39.9 | 43.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 | 16 | 0 | 11.5 | 18.7 | — | 5 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 | 140 | 0 | 0.0 | 29.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). | 54 | 55 | 21 | 29K | 0 | 1.3 | 37.7 | MIT | 1 year 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 | 2 | 0 | 27.4 | 4.9 | BSD-3-Clause | 1 week ago | |
| arokettu/random-polyfill | 0.79 | — | 8 | 9 | 0 | 47K | 0 | 20.0 | 57.9 | NOASSERTION | 3 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 | 35 | 0 | 1.2 | 21.5 | — | 3 years ago | |
| php-standard-library/hash | 0.79 | 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 | 8K | 0 | 19.1 | 62.2 | MIT | 2 months 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 | 1 | 0 | 0.3 | 1.1 | MIT | 8 years ago | |
| symfony/polyfill-uuid | 0.78 | Symfony Polyfill for UUID brings uuid_* functions to PHP environments that don’t have the uuid extension installed. It lets applications use common UUID helpers consistently across PHP versions, matching Symfony’s polyfill approach and staying lightweight and MIT licensed. | 687 | 692 | 2 | 12M | 0 | 19.3 | 62.4 | MIT | 3 months ago | |
| aldaflux/pgsql-doctrine-random-function | 0.78 | — | 0 | 0 | 0 | 215 | 0 | 0.0 | 32.2 | MIT | — |
How can I help you explore Laravel packages today?