Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Random Polyfill Laravel Package

arokettu/random-polyfill

View on GitHub
Deep Wiki
Context7
1.0.6
  • By the PHP license 3.01 clause 5, updated the upstream license to the PHP License 4.0 (3-Clause BSD) making the library purely licensed under the 3-Clause BSD
1.0.5
  • Removed always included lib.php, now the library has absolutely no side effects in PHP 8.2+
1.0.4
  • Upgraded embedded arokettu/unsigned to 1.3.6, a more future-proof version
1.0.3
  • Inline arokettu/unsigned
  • Unlock the upper PHP version because the lib will fall back to the native ext-random in 8.2+ anyway
1.0.2
  • Bump arokettu/unsigned to 1.2.1, previous versions may cause invalid results in Mersenne Twister on 32-bit systems.
1.0.1
1.0.0

Since RC1/RC2 are compatible with last 4 release candidates of PHP 8.2 (RC2-RC5), RC2 is re-released as stable.

  • No user facing changes since RC2
1.0.0-rc2
  • Speed up 32 bit calculations in 64 bit envs
1.0.0-rc1
  • Secure engine throws RandomException instead of Exception
  • Added verification of the number of elements in serialized data
  • Generated data is truncated to 64 bits in Randomizer::getBytes()
  • Fixed integer overflow in the upstream math lib
1.99.0

Empty release for PHP >= 8.2

1.0.0-beta1
  • Fix incompatibility with PHP 8.2.0 RC1
0.5.0

Hopefully the last alpha

  • Exceptions are now compatible in most known cases
  • Full coverage
  • GMP is now an optional dependency (but highly recommended)
0.4.0
  • Verified compatibility with PHP 8.2.0 beta 3
  • Tests ported from the PHP engine
  • Various compatibility fixes
  • Exceptions compatibility (mostly)
0.3.0
  • Verified compatibility with PHP 8.2.0 beta 2
  • PcgOneseq128XslRr64
  • Xoshiro256StarStar
  • Split nextInt() and getInt($min, $max) like in beta 2
0.2.1
  • Verified compatibility of custom engines with the current PHP 8.2 master
  • getInt() now has proper signature getInt(int $min, int $max)
  • arrayPickKeys() throws a warning because full compatibility is not achievable. Thanks to @TimWolla for the explanation in #1
    • No warning if the engine is CryptoSafeEngine
  • Fixed incorrect range function selection [#1], thanks to @TimWolla
  • Fixed byte selection in range64
0.2.0

NOTE: 0.2.0 currently is not fully compatible when using custom engines. This will be fixed in 0.3.0 after PHP 8.2.0 beta 2 is released with some critical fixes.

  • Randomizer
    • $engine
    • getBytes($length)
    • shuffleArray($array)
    • shuffleBytes($bytes)
    • arrayPickKeys($array, $num)
    • Serialization and unserialization are now compatible with PHP 8.2 if performed in PHP 7.4+
  • Mt19937
    • Serialization and unserialization are now compatible with PHP 8.2 if performed in PHP 7.4+
0.1.1
  • Fixed Mt not generating enough data sometimes
0.1.0
  • First release
  • Compatible with PHP 8.2.0 beta 1
  • Engines:
    • Secure Random
    • Mersenne Twister
  • Randomizer features:
    • getInt()
    • getInt($min, $max)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
ilhamsyabani/laravel-volt-starter
thethunderturner/filament-latex
ghostcompiler/laravel-querybuilder
webrek/laravel-telescope-mongodb
anousss007/blatui
zatona-eg/zatona-eg-api
cocosmos/filament-sticky-save-bar
patrickbussmann/oauth2-apple
3brs/enterprise-security-bundle
anousss007/vigilance
supportpal/eloquent-model
ardenexal/fhir-models
laravel-at/laravel-image-sanitize
romalytar/yammi-audit-log-laravel
ardenexal/fhir-validation
arshaviras/weather-widget
laravel-chronicle/core
sunchayn/nimbus
daikazu/eloquent-salesforce-objects
unseen-codes/chat