PackageTrack
Sign in Get early access

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 2025
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 9
  1. 2.1.1 29 Dec 2025
    Release notes

    Fixed

    • Encoding an empty string with modern PHP and PHP older than 8.2 produced different outputs (#28, #29).
    Open source →
  2. 2.1.0 02 Aug 2021
    Release notes

    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::Z85BUG character set instead.

      use Tuupola\Base85;
      
      $z85 = new Base85([
          "characters" => Base85::Z85BUG,
          "compress.spaces" => false,
          "compress.zeroes" => false
      ]);
      

    Added

    • New character set Base85::Z85BUG (#23).
    Open source →
  3. 2.0.0 11 Jun 2021
    Release notes

    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).
    Open source →
  4. 1.0.0 01 Feb 2021
    Release notes

    This is same as previous but released as stable.

    Open source →
  5. 0.4.0 27 Apr 2019
    Release notes Open source →
    Release notes

    Added

    • Implicit decodeInteger() and encodeInteger() methods (#3).
    • Character set validation for both configuration and data going to be encoded (#5).

    Removed

    • The unused and undocumented $options parameter from static proxy methods (#6).
    Open source →
  6. 0.3.1 01 Apr 2017
    Release notes

    Removed

    • Removed final keyword from classes.
    Open source →
  7. 0.3.0 10 Mar 2017
    Release notes

    Added

    • New prefix and suffix setting to support Adobe85 mode.
    • Static proxy to optionally enable Base85::decode($data) and Base85::encode($data) style usage.
    Open source →
  8. 0.2.0 26 Feb 2017
    Release notes

    More realiable benchmarks

    Open source →
    Release notes

    Removed

    • Static functions ie Base85::decode($data) and Base85::encode($data).
    Open source →
  9. 0.1.0 20 Feb 2017
    Release notes

    Note about shortenud UUIDs

    Open source →
    Release notes

    Initial realese.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive