tuupola/base62
Base62 encoder and decoder for arbitrary data
2.1.1
4.7M downloads/mo
#2614 most downloaded on Packagist
tuupola/base62
What this package is like to depend on
Last release 8 months ago
08 Dec 2025
Ships unpredictably
gaps range from 1 weeks to 5.2 years
Nearly every release is documented
notes for 13 of 13 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
14 releases · first in 2016
1 release in the last 12 months
see the full history below
Release timeline
14 releases · May 2016 to Dec 2025Releases
latest 14-
2.1.108 Dec 2025 -
2.1.009 Sep 2020 -
2.0.030 Dec 2018Release notes
Open source →Changed
- PHP 7.1 is now minimum requirement
- All methods have return types
- All methods are typehinted
- All type juggling is removed
-
1.0.127 Dec 2018Release notes
Open source →Removed
- The unused and undocumented second parameter from static proxy methods. Parameter was accidentally forgotten into the code. This could be considered a BC break. However since there have been practically no installs for 1.0.0 yet I doubt this will break anyones code.
-
1.0.020 Dec 2018 -
1.0.0-rc107 Dec 2018 pre-releaseNothing published for this version
-
0.11.111 Sep 2018Release notes
Open source →Fixed
- GMP driver output was not matching others when binary data had leading 0x00 (#13).
-
0.11.005 Sep 2018 -
0.10.028 Mar 2018 -
0.9.009 Oct 2017Release notes
Open source →Added
- Implicit
decodeInteger()andencodeInteger()methods.
Fixed
- PHP encoder was returning returning wrong output when encoding integers and the float representation of the integer was wider than 53 bits. If your application uses big integers and PHP encoder only might be BC issues with
0.8.0. GMP and BCMath encoders were not affected.
- Implicit
-
0.8.012 Mar 2017Release notes
Open source →This release is not compatible with
0.7.0. Object syntax is now default. A quick way to upgrade is to add the following to your code:use Tuupola\Base62Proxy as Base62;Added
- Possibility to use custom character sets.
- Static proxy for those who want to use static syntax
use Tuupola\Base62Proxy as Base62; Base62::decode("foo");
-
0.7.009 Oct 2016Release notes
Open source →Added
- Allow using object syntax, for example
$base62->decode("foo"). - Optional BCMath encoder. Mostly a curiosity since it is slower than pure PHP encoder.
- Allow using object syntax, for example
-
0.6.006 May 2016Release notes
Open source →Fixed
- Encode integers as integers. Before they were cast as strings before encoding.
-
0.5.005 May 2016