NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #4111 most downloaded on Packagist
Random is a simple helper package designed to make it easy to generate a range of different cryptographically secure random values.
Latest stable
v1.0.1
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 1 weeks to 12 months
Nearly every release is documented
notes for 8 of 8 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
8 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Allow string as input for useSymbols by @princejohnsantillan in https://github.com/valorin/random/pull/23
use*() methods.Full Changelog: https://github.com/valorin/random/compare/v1.0...v1.0.1
pick() now only supports array and Collection, and $count = 1 still returns array or Collection. This is to make the behaviour more consistent, and it
pick() now only supports array and Collection, and $count = 1 still returns array or Collection. This is to make the behaviour more consistent, and it didn't make much sense to pick multiple random characters from a string.single() replaces pickOne() and is used to pick a single item from an array, string, or Collection.Full Changelog: https://github.com/valorin/random/compare/v0.6...v1.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Laravel12 support by @faissaloux in https://github.com/valorin/random/pull/22
Full Changelog: https://github.com/valorin/random/compare/v0.5...v0.6
Bumped Laravel support to v11 - note, it's only for require-dev.
require-dev.Full Changelog: https://github.com/valorin/random/compare/v0.4...v0.5
Enhancement: Simplify dashed return by @shatterproof in https://github.com/valorin/random/pull/15
dashed return by @shatterproof in https://github.com/valorin/random/pull/15testUnexpectedSymbolsInput for unfiltered symbols by @shatterproof in https://github.com/valorin/random/pull/17dashed by @shatterproof in https://github.com/valorin/random/pull/16dashed $lower to $mixedCase by @shatterproof in https://github.com/valorin/random/pull/18Full Changelog: https://github.com/valorin/random/compare/v0.3...v0.4
Fix string length conflict with requireAll by @faissaloux in https://github.com/valorin/random/pull/9
length conflict with requireAll by @faissaloux in https://github.com/valorin/random/pull/9--strict option when validating composer.json and composer.lock by @localheinz in https://github.com/valorin/random/pull/14pick($count) by @faissaloux in https://github.com/valorin/random/pull/12passcode() alias for otp()Full Changelog: https://github.com/valorin/random/compare/v0.2...v0.3
Added Random::dashed() helper for dashed token strings.
Random::dashed() helper for dashed token strings.use* methods input by @faissaloux in https://github.com/valorin/random/pull/2Full Changelog: https://github.com/valorin/random/compare/v0.1...v0.2
Random finally has all the core features I wanted to include for the initial release, so I'm clicking the button and making it live!
Random finally has all the core features I wanted to include for the initial release, so I'm clicking the button and making it live!
This is definitely an early version, so method names and parameters may change as it starts being used and issues are identified.
Full Changelog: https://github.com/valorin/random/commits/v0.1
One column per month.