phlib/base_convert
Drop-in replacement for PHP base_convert that supports arbitrarily large numbers without silent failures. Convert big numeric strings between bases (e.g., 10↔36) reliably via Phlib\base_convert, and round-trip large values correctly.
\InvalidArgumentException for the base_convert()
parameters to match the warnings added for the original PHP function in v7.4.
$number must be a string using only alphanumeric characters.$fromBase and $toBase must be an integer between 2 and 36.How can I help you explore Laravel packages today?