tuupola/base85
Base85 encoder and decoder for arbitrary data
2.1.1
245K downloads/mo
#4301 most downloaded on Packagist
tuupola/base85
What this package is like to depend on
Last release 7 months ago
29 Dec 2025
Release timing varies
gaps range from 2 weeks to 4.4 years
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
9 releases · first in 2017
1 release in the last 12 months
see the full history below
Release timeline
9 releases · Feb 2017 to Dec 2025Releases
latest 9-
2.1.129 Dec 2025 -
2.1.002 Aug 2021Release notes
Open source →Fixed
-
ZeroMQ (Z85) was using wrong character set (#22, #23).
HEADS UP! Even though this is a bugfix it does break BC if you rely on the wrong behaviour. Still, I decided it does not warrant a major version number bump. If you do rely on the wrong behaviour use the new
Base85::Z85BUGcharacter set instead.use Tuupola\Base85; $z85 = new Base85([ "characters" => Base85::Z85BUG, "compress.spaces" => false, "compress.zeroes" => false ]);
Added
- New character set
Base85::Z85BUG(#23).
-
-
2.0.011 Jun 2021Release notes
Open source →Added
- Allow installing with PHP 8 (#8).
Changed
- PHP 7.1 is now minimum requirement
- All methods have return types (#14).
- All methods are typehinted (#14).
- All type juggling is removed (#14).
- InvalidArgumentException is now thrown if trying to decode empty string as integer (#18).
Fixed
- Autoselection was always choosing the PHP encoder(#15).
-
1.0.001 Feb 2021 -
0.4.027 Apr 2019Release notes
Open source →Added
- Implicit
decodeInteger()andencodeInteger()methods (#3). - Character set validation for both configuration and data going to be encoded (#5).
Removed
- The unused and undocumented
$optionsparameter from static proxy methods (#6).
- Implicit
-
0.3.101 Apr 2017 -
0.3.010 Mar 2017Release notes
Open source →Added
- New
prefixandsuffixsetting to support Adobe85 mode. - Static proxy to optionally enable
Base85::decode($data)andBase85::encode($data)style usage.
- New
-
0.2.026 Feb 2017Release notes
Open source →Removed
- Static functions ie
Base85::decode($data)andBase85::encode($data).
- Static functions ie
-
0.1.020 Feb 2017